Created
February 1, 2021 08:39
-
-
Save sergeiwaigant/6e37617dc614f97817ae9549e9caa6d0 to your computer and use it in GitHub Desktop.
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
# Sometimes after a sprint, all the remaining branches are just taking up space. | |
# Here's a small snippet to remove all your local branches in one go. | |
git branch | grep -v "master" | xargs git branch -D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment