Created
July 31, 2023 06:31
-
-
Save hira22/47d4ad9afc7d2f636103ed89eb9baecd to your computer and use it in GitHub Desktop.
git vacuume
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
[alias] | |
vacuum = "!f () { git checkout $1; git branch --merged|egrep -v '\\*|develop|main'|xargs git branch -d; git fetch --prune; };f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment