Skip to content

Instantly share code, notes, and snippets.

@ytkhs
Created February 16, 2015 07:46
Show Gist options
  • Save ytkhs/fcb83d4148c29b47457e to your computer and use it in GitHub Desktop.
Save ytkhs/fcb83d4148c29b47457e to your computer and use it in GitHub Desktop.
mergeされててcurrentでないブランチを削除する
git remote prune origin && git checkout master && git branch --merged | grep -v \* | xargs git branch -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment