Last active
September 15, 2017 08:31
-
-
Save surakamy/1a1d752d36b9299df3948fa4898a1443 to your computer and use it in GitHub Desktop.
Git gists
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
# Refresh local information about remote branches. | |
git remote update --prune | |
# Fetch new remote branches | |
git fetch --all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//reset to some commit locally and remote.
git reset 7f6d03 --hard
git push origin -f