0

Imagine a commit Tree as such:

 ----master--------commit_1--------commit_3--------commit_5---------->
               \
  'new branch'  \ ----------commit_2---------commit_4-->

I want to be able to take 'commit 2', and commit it to master, WITHOUT merging the new branch, or reverting all other commits on the new branch.

My first thought was to stash 'commit_2', switch to master, then git pop, but I don't know if that will work.

Joe Caruso
  • 1,266
  • 1
  • 12
  • 26

0 Answers0