tags:

views:

15

answers:

1

I forked a project on github.

I made commit 1,2,3,4 & 5 on my master branch.

I want to present commit 2 & 5 as a pull request to upstream, in such a way that when upstream accepts, and I sync my branch with upstream, I don't get any conflicts.

What are the various ways I could do that?

+1  A: 

You could:

VonC
on the theory of `rebase --interactive`, see also http://stackoverflow.com/questions/3022409/cherrypicking-versus-rebasing/3022452#3022452
VonC