Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Last active October 24, 2015 05:40
Show Gist options
  • Save tomysmile/78d850268dfe3b017b40 to your computer and use it in GitHub Desktop.
Save tomysmile/78d850268dfe3b017b40 to your computer and use it in GitHub Desktop.
Git: Reset

Remove remote branch

git push origin :[branch-name]

Remove stale remote brance

git remote prune origin

List remote branch

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