Last active
July 19, 2022 08:29
-
-
Save FDelporte/0a2326699f2ae0162cc11d8a05231ef6 to your computer and use it in GitHub Desktop.
GIT remove local branches not on remote
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 origin/master | 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