Last active
August 15, 2018 16:54
-
-
Save dimasch/5fb50595b68a3d1d80bd to your computer and use it in GitHub Desktop.
Cleanup Old Git Branches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch -r --merged | grep -e 'BRANCH_NAME' | sed 's/origin\//:/' | xargs -n 1 git push origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment