Created
July 8, 2020 08:19
-
-
Save leonlaser/1737d18aec93bae88368b626e3d3b66a to your computer and use it in GitHub Desktop.
[Remove merged local branches] #git #shell #branch
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
#/bin/env bash | |
git branch --merged | egrep -v "(^\*|master|develop) | xargs git branch -d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment