Last Updated: February 25, 2016
·
360
· skv-headless

List of branches witch would be deployed.

Before every release I use this command to know which features merged to staging and need to be merged to master for deploy.

comm -12 <(sort <(git branch --merged origin/staging -r)) <(sort <(git branch --no-merged origin/develop -r))

2 Responses
Add your response

I've just tried it. Doesn't work for me

comm: illegal option -- -
usage: comm [-123i] file1 file2
fatal: malformed object name origin/staging
over 1 year ago ·

On mac doesn't work with --check-order. So just remove it. Thanks @zzet for hint.

over 1 year ago ·