Created
November 28, 2019 08:26
-
-
Save i-sannikov/3b71e53b0cbac15b2fb86487802de1f5 to your computer and use it in GitHub Desktop.
Clean local branches
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 branch -l --merged | grep -v '>' | grep -v master | xargs -L1 | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment