Last active
November 22, 2019 21:08
-
-
Save isaaclw/4b068256927e9fa105d81a4ea1595fe6 to your computer and use it in GitHub Desktop.
Clear out old branches #git #bash
This file contains hidden or 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 remote prune origin | |
# or delete branches: | |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment