Created
October 8, 2019 08:34
-
-
Save SteadBytes/5c17901f672583a51c34807770e07224 to your computer and use it in GitHub Desktop.
Handy git command to reset local to state of origin i.e. if origin has been force pushed
This file contains 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 | |
git reset --hard @{u} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment