1. A fpc instance has been downloaded using the following command:
git clone https://gitlab.com/freepascal.org/fpc/source.git fpc
2. After that, the sources have been prepared in order to be modified using
3. A patch is created using
Here are two questions:
a. After writing the patch at step 3, how do I revert back to step one? I mean I want to delete the "patch" branch which contains the modifications and remain with the instance files downloaded at step 1.
b. After some time from downloading files at step 1, what git command do I have to use in order to just update the files to the newest snapshot? I can get the latest snapshot by deleting the files and cloning the sources again, but for sure there's a faster way of doing it.
Thank You!