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,284
  • 4
  • 32
  • 52

1 Answers1

5

You could:

Community
  • 1
  • 1
VonC
  • 1,129,465
  • 480
  • 4,036
  • 4,755
  • 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