Skip to content

Instantly share code, notes, and snippets.

@serjKim
Created August 19, 2019 14:39
Show Gist options
  • Save serjKim/fd2470738cffc96f0da4b761feb9aa0f to your computer and use it in GitHub Desktop.
Save serjKim/fd2470738cffc96f0da4b761feb9aa0f to your computer and use it in GitHub Desktop.
@echo Deleting old branches...
git branch --merged develop | grep -v 'develop$' | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment