Last active
April 30, 2019 13:55
-
-
Save bahelms/0969f4af2a8b7ea7e4a696c46b7a8e88 to your computer and use it in GitHub Desktop.
Clean yo git!
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 --merged | grep -Ev "(^\*|master|dev)" | xargs git branch -d | |
git remote prune origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment