Skip to content

Instantly share code, notes, and snippets.

@libkazz
Last active October 5, 2015 20:38
Show Gist options
  • Select an option

  • Save libkazz/2872434 to your computer and use it in GitHub Desktop.

Select an option

Save libkazz/2872434 to your computer and use it in GitHub Desktop.
delete merged branches
# これで gitconfig に alias を書けばよい
git branch --no-color --merged 2> /dev/null | grep -v -e '*' -e master | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment