Created
January 8, 2013 23:42
-
-
Save if6was9/4489143 to your computer and use it in GitHub Desktop.
Git pull equivalent of "git push -f"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git fetch <remoteref> <branchname> | |
| $ git reset --hard FETCH_HEAD | |
| $ git clean -df |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment