Skip to content

Commit

Permalink
Merge pull request k88hudson#42 from RichardLitt/git-commit-wrong-bra…
Browse files Browse the repository at this point in the history
…nch-33

Added note about git push
  • Loading branch information
RichardLitt committed Mar 14, 2015
2 parents 660a9b5 + 34e4f3e commit a2d407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down

0 comments on commit a2d407f

Please sign in to comment.