Created
March 5, 2015 10:04
-
-
Save igorb/8696fab31ef8e409913e to your computer and use it in GitHub Desktop.
remove branches & temporary files
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 checkout master && git branch | grep -v "master" | xargs git branch -D | |
find . -name \*.swo -type f -delete | |
find . -name \*.swp -type f -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment