Created
December 8, 2020 14:34
-
-
Save gagimilicevic/0c1e135192923c10d821c55354414607 to your computer and use it in GitHub Desktop.
`git` discard all local changes/commits and pull from upstream
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 discard all local changes/commits and pull from upstream | |
git reset --hard origin/master | |
git pull origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment