Last active
April 9, 2018 04:56
-
-
Save boywijnmaalen/27c4a26de42e3f7ed0f5b318c752aceb to your computer and use it in GitHub Desktop.
How to pull after a forced git push #CLI #GIT
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 origin | |
$ git reset --hard origin/master # be aware; this will destroy local work that does not ywt exist in the repository |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment