Skip to content

Instantly share code, notes, and snippets.

@maecha
Created May 11, 2017 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maecha/7a9ec3c2ff119aa41d543de7b40dcba0 to your computer and use it in GitHub Desktop.
Save maecha/7a9ec3c2ff119aa41d543de7b40dcba0 to your computer and use it in GitHub Desktop.
ローカルブランチのお掃除
git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment