Add directions for applying patches and abandoning local changes
The following sections were added today. They were reviewed by sdboyer and webchick in IRC.
If you have not already cloned the repository, follow the directions above for setting up this repository in your local environment. Be sure you are on the branch you wish to patch and that it is up-to-date using the following commands:
git checkout --track origin/[@branchname]git pull origin [@branchname]
git checkout --track origin/[@branchname]
git pull origin [@branchname]
Next, download the patch to your working directory to apply it. There are many variables involved in applying patches, so if the following command doesn't work for you, see Applying patches for more detail.git apply [patch.name]
git apply [patch.name]
Finally, remove the patch file:rm [patch.name]
Abandon changes to a specific file:
git checkout [filename]
Abandon changes to the whole working tree:
git reset --hard
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.