4

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?

Lucas Meijer
  • 4,424
  • 6
  • 36
  • 53

1 Answers1

5

You could:

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • on the theory of `rebase --interactive`, see also http://stackoverflow.com/questions/3022409/cherrypicking-versus-rebasing/3022452#3022452 – VonC Oct 05 '10 at 20:15