Tuesday, July 16, 2013

Git pick out individual commits

The following approach was easy and straightforward to migrate some code on a branch that had diverged greatly from the current one. I was able to grab a specific commit out.

git format-patch -1 b50788b
git am 0001-First-pass-at-rake-task.patch

http://gitready.com/intermediate/2009/03/04/pick-out-individual-commits.html

No comments:

Post a Comment