From cf6b8c4de86c8b32a029a8ea46a823456f661e6b Mon Sep 17 00:00:00 2001 From: Azcobu <81782124+Azcobu@users.noreply.github.com> Date: Tue, 25 May 2021 01:17:38 +0930 Subject: docs: Added info on reverting PRs (#496) This should help newer users who are still unsure of the PR process to revert changes made after testing a PR. Note - I'm not knowledgeable with git and there are probably better ways to do this. Any improvements welcome. --- docs/How-to-test-a-PR.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/How-to-test-a-PR.md b/docs/How-to-test-a-PR.md index f4eb8c6..8790629 100644 --- a/docs/How-to-test-a-PR.md +++ b/docs/How-to-test-a-PR.md @@ -137,3 +137,7 @@ You should write: ![image](https://user-images.githubusercontent.com/75517/52176867-44e80480-27b9-11e9-9f43-070e4edcb77d.png) +## Finishing Testing + +Once you have left a test report, you will want to revert your AC installation back to the base state for further testing. To do this, use `git reset --hard` to remove all unstaged changes, followed by `git checkout master` to go back to the master branch. To tidy up, you can also use `git clean -fd` to get rid of any untracked files. Finally, you can then type `git status` to make sure everything is back to normal. + -- cgit