git-when-merged

Install

All systems
curl cmd.cat/git-when-merged.sh
OS X
brew install git-when-merged

git-when-merged