Skip to content

Instantly share code, notes, and snippets.

@tswicegood

tswicegood/- Secret

Created December 19, 2014 21:25
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 tswicegood/53ae96e601f5b31b3e6d to your computer and use it in GitHub Desktop.
Save tswicegood/53ae96e601f5b31b3e6d to your computer and use it in GitHub Desktop.
delete-old-branches = !git branch | grep -v \"*\" | xargs git branch -d 2>/dev/null
delete-old-branches-remote = !git remote prune $1 && git branch | grep -v \"*\" | xargs git branch -d 2>/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment