2011-02-12 12 views

Respuesta

5

Esto es lo que haría:

$ git branch to-merge-in C-commit-ID # Create a branch at C 
$ git reset --hard A-commit-ID   # Reset current branch to A 
$ git merge --no-ff to-merge-in   # Merge in branch. Create a merge commit. 
$ git cherry-pick D-commit-ID   # Grab the commit D 
Cuestiones relacionadas