[email protected] writes:

> Comment #4 on issue 2156 by [email protected]: lost commits
> http://code.google.com/p/lilypond/issues/detail?id=2156
>
> Phil,
>
> I *think* you can simply (simply :) ) checkout the broken tree, then
> use gitk (as it is easier) to find commit, then reset the head back to
> there and then use
>
> git format-patch HEAD
>
> Which will make a patch from HEAD.
>
> I am guessing you could use HEAD^ or some other variant to move HEAD
> where you need it.

Why so complicated?

git cherry-pick commit-id

will take the commit specified by commit-id and apply it to the
currently checked-out branch.

-- 
David Kastrup


_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to