Skip to content

Instantly share code, notes, and snippets.

@nroberson
Created September 6, 2013 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nroberson/6470273 to your computer and use it in GitHub Desktop.
Save nroberson/6470273 to your computer and use it in GitHub Desktop.
Delete's all remote branches from origin
git branch -r | sed 's/origin\///g' | xargs -n 1 git push --delete origin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment