Highlights
- Pro
Pinned Loading
-
scripts to clean up local git branch...
scripts to clean up local git branches for a given repository 1# safe delete branches
2# (deletes all MERGED branches, except dev and master)
3git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d
45# delete branches
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.