1
0
mirror of https://github.com/k88hudson/git-flight-rules.git synced 2025-03-10 12:48:43 -03:00

Merge pull request #42 from RichardLitt/git-commit-wrong-branch-33

Added note about git push
This commit is contained in:
Richard Littauer 2015-03-14 10:26:29 -07:00
commit a2d407f12e

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`: