Skip to content

Instantly share code, notes, and snippets.

@TAKAyukiatkwsk
Created February 13, 2014 12:27
Show Gist options
  • Select an option

  • Save TAKAyukiatkwsk/8974232 to your computer and use it in GitHub Desktop.

Select an option

Save TAKAyukiatkwsk/8974232 to your computer and use it in GitHub Desktop.
masterにマージ済みのブランチを削除する
# 実行前にgrepコマンドまで実行して確認しておく!!
git branch --merged | grep -v 'master' | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment