bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue 2156 in lilypond: lost commits


From: David Kastrup
Subject: Re: Issue 2156 in lilypond: lost commits
Date: Sat, 31 Dec 2011 16:11:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

address@hidden writes:

> Comment #4 on issue 2156 by address@hidden: 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]