[Potlatch-dev] Useful command: git branch --merged
Steve Bennett
stevagewp at gmail.com
Fri Mar 16 15:41:06 GMT 2012
Hi all,
Just thought I'd share a useful command I just discovered. If you're
submitting patches as feature branches, and if your master tracks
systemed/master then this command:
git branch --merged master
shows you which of your branches have made it into the systemed/repo:
git branch --merged master
bug-4258-4259
fix-3775
fix-4114
master
parking-types
And of course you can do the same to see which have made it into the
live version:
git branch --merged live/master
bug-4258-4259
fix-3775
fix-4114
For fun, there's also --no-merged
git branch --no-merged master
bug-3860
bug-4258
fix-3860
fix-tram-route-editor
fullscreen-toggle-button
light-rail-4258-4259
natural-beach
natural-beach2
* old_master
pedestrian-crossings
proposed-construction
stevestuff
train-routes
vet-pool-4128
voltage-tweaks
widen-choice-editor
Anyway, I was pleasantly surprised to see Git do something so helpful ;)
Steve
PS No, this wasn't some passive-aggressive complaint about queued
pull-requests either...:)
More information about the Potlatch-dev
mailing list