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:
commit
a2d407f12e
@ -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`:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user