Skip to content

Instantly share code, notes, and snippets.

@tiagocesar
Created April 11, 2018 12:39
Show Gist options
  • Save tiagocesar/2aaa27bb764b0364d504f83f6fe84cf5 to your computer and use it in GitHub Desktop.
Save tiagocesar/2aaa27bb764b0364d504f83f6fe84cf5 to your computer and use it in GitHub Desktop.
git branch | grep -v "master\|develop" | xargs git branch -D
@tiagocesar
Copy link
Author

Deletes all local branches, except develop and master

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