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))
Written by Zhenya Sokovikov
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#