Created
July 5, 2018 13:20
-
-
Save Lavode/4369a80f1e6b94e079f366538e1975c8 to your computer and use it in GitHub Desktop.
Git 101
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
# Delete merged branches | |
git branch -r --merged develop | grep -vF '/develop' | sed -nE -e 's|origin/(.*)|\1|p' | xargs -I{} git push origin :{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment