showing unmerged changes from branch

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

showing unmerged changes from branch

From: cmumford <hidden>
Date: 2016-06-15 22:50:05

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
-- 
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.

Re: showing unmerged changes from branch

From: Jonathan Nieder <hidden>
Date: 2016-06-15 22:50:05

Hi Chris,

cmumford wrote:
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help