Last active
February 24, 2020 12:24
-
-
Save SeanSobey/1a5ecc906bc79d219b9a52f69b3a6530 to your computer and use it in GitHub Desktop.
Git sync comnmand as alias
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] | |
sync = "! git fetch && git remote prune origin && git branch --merged | tr -d '* ' | grep -vE '^\\s*master' | xargs -n1 -r git branch -d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment