Added note about git push

This reflects that your origin will be out of sync with remote if you reset. Just a small note. I noticed this when testing #33
This commit is contained in:
Richard Littauer 2015-03-14 10:25:34 -07:00
parent 660a9b59ca
commit 34e4f3e39b
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ Create the new branch while remaining on master:
(master)$ git branch new-branch
```
Find out what the commit hash you want to set your master branch to (`git log` should do the trick). Then reset to that hash.
Find out what the commit hash you want to set your master branch to (`git log` should do the trick). Then reset to that hash. `git push` will make sure that this change is reflected on your remote.
For example, if the hash of the commit that your master branch is supposed to be at is `a13b85e`: