Skip to content

Commit

Permalink
Added note about git push
Browse files Browse the repository at this point in the history
This reflects that your origin will be out of sync with remote if you reset. Just a small note. I noticed this when testing k88hudson#33
  • Loading branch information
RichardLitt committed Mar 14, 2015
1 parent 660a9b5 commit 34e4f3e
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 34e4f3e

Please sign in to comment.