Skip to contentSkip to conversation

showing unmerged changes from branch

DISCUSSION cmumford 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore

cmumford

author
#0 lore raw

Hi:

I'm a Subversion user new to Git. I've created a local branch from a remote master and want to cherry pick changes to the remote master and merge them into my branch. Periodically I want to do a full merge from the remote master to my local branch, and then continue to cherry pick changes.

So to see the available changes I did this:

git show-branch

And once I identified a change that I want I did this:

git cherry-pick --no-commit <remote master commit sha1>

I then build/test the change, and once happy with I'll commit to my local branch. My question is now that I've cherry picked one change I want to get a list of all unmerged changes - filtering out ones I've already done?

I'm probably thinking of Git in Subversion terms and not yet thinking the "Git way". Help is much appreciated.

-Chris

Signature · 2 lines
View this message in context: http://git.661346.n2.nabble.com/showing-unmerged-changes-from-branch-tp5761241p5761241.html
Sent from the git mailing list archive at Nabble.com.
#1 lore raw

Hi Chris,

Quoted 7 lines · cmumford

And once I identified a change that I want I did this:

git cherry-pick --no-commit <remote master commit sha1>

I then build/test the change, and once happy with I'll commit to my local branch. My question is now that I've cherry picked one change I want to get a list of all unmerged changes - filtering out ones I've already done?

You might like "git cherry".

Hope that helps,
Jonathan