lilypond-devel
[Top][All Lists]
Advanced

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

Re: Issue 5099 - staging broken?


From: Thomas Morley
Subject: Re: Issue 5099 - staging broken?
Date: Sun, 26 Mar 2017 10:59:03 +0200

Sorry, for empty mail, misclicked.
Obviously I need more coffee ...

2017-03-26 10:17 GMT+02:00 David Kastrup <address@hidden>:
> Thomas Morley <address@hidden> writes:
>
>> accidently I permanently deleted the branch where the patch for issue
>> 5099 was.
>
> That would be a rather difficult feat (you don't do things like that
> "accidentally" with Git since you have to work very hard to do them,

There were too much unneeded branches in my local repro, mostly
containing already pushed commits.
So I decided to do some clean up with
git branch -D branch-name
and out of a c/p-error the wrong branch was taken.

> with a set of very explicit commands unless you are going to wait for
> several months as part of the recipe).
>
> Try
>
> git reflog
>
> and write down the hash for the first occurence of your branch in the
> list (which would be last in time).
>
> Then do
>
> git branch hash-that-you-wrote-down
>
> and the branch is back in life.  Of course, since this will be an
> unpublished branch, you have to do this in the repository where you
> "permanently" deleted the branch.
>
> Git tends to keep "permanently deleted" stuff around for 3 months or so
> before it really removes them for good.


Many thanks for the info.

Cheers,
  Harm



reply via email to

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