Skip to content

Instantly share code, notes, and snippets.

@surakamy
Last active September 15, 2017 08:31
Show Gist options
  • Save surakamy/1a1d752d36b9299df3948fa4898a1443 to your computer and use it in GitHub Desktop.
Save surakamy/1a1d752d36b9299df3948fa4898a1443 to your computer and use it in GitHub Desktop.
Git gists
# Refresh local information about remote branches.
git remote update --prune
# Fetch new remote branches
git fetch --all
@surakamy
Copy link
Author

//reset to some commit locally and remote.
git reset 7f6d03 --hard
git push origin -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment