You're better off thinking about the *commits* that you want to pull into 
the current branch.

One way is to cherry-pick the commits where you added the files:

git cherry-pick <sha>

This is nice if you want to pull in a single commit or two.

Alternatively, if you want to dive into more the more advanced rebase --onto 
technique, have a look at:

See the section "more interesting rebases". That's tricky stuff though, you 
probably want to play around and learn more about git-rebase before you get 

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to