Created
July 22, 2016 17:02
-
-
Save dep-deprecated/e91563ddd1c502842e52e994cc09870d to your computer and use it in GitHub Desktop.
Shows branches that are redundant to master
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 checkout master && git fetch && git merge origin/master && git remote prune origin && echo 'Dead branches:' && git branch -r --merged | grep -v master && git checkout - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment