Created
April 20, 2016 07:29
-
-
Save 4Giedrius/41ab19dd5939308267bc7a72a475f770 to your computer and use it in GitHub Desktop.
Delete all local git branches which already been merged remotely
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 --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