threads / discuss / 11309

One of my commits is missing

Subject: One of my commits is missing

## tl;dr

4 messages between Dec 15, 2007 and Dec 16, 2007.

replies: 3people: 3as markdown or json

Luke Diamand· Dec 15, 2007, 22:16 UTC · lore

My last commit seems to have vanished, and I wonder if anyone knows where it might have gone.

I had a branch with a big pile of changes on it, and I merged those onto a second branch to tidy it all up and fix one last bug.

I did a git-commit, and then created a third branch to start some other unrelated work (git-checkout -b ...).

Now that second branch no longer has my last commit.

Obviously most of my changes are still on the first branch, but I'd quite like to get back my commit.

Looking through my history I don't see any signs of errant git-reset's so I'm baffled.

Any ideas?

Thanks Luke Diamand

Shawn O. Pearce· Dec 15, 2007, 22:29 UTC · re: Luke Diamand · lore

Re: One of my commits is missing

Luke Diamand <luke@vidanti.com> wrote:
> 
> My last commit seems to have vanished, and I wonder if anyone knows 
> where it might have gone.
...
> Looking through my history I don't see any signs of errant git-reset's 
> so I'm baffled.

I'm baffled too. Have a look at your HEAD reflog and see if you can find it there (`git log -g`) as if you actually did in fact create it with git-commit it should appear in that reflog for at least the next 90 days (by default config anyway).

-- 
Shawn.
Luke Diamand· Dec 16, 2007, 09:11 UTC · lore

Re: One of my commits is missing

Thanks! That found it.
Shawn O. Pearce wrote:
Show 13 quoted lines
> Luke Diamand <luke@vidanti.com> wrote:
>> My last commit seems to have vanished, and I wonder if anyone knows 
>> where it might have gone.
> ...
>> Looking through my history I don't see any signs of errant git-reset's 
>> so I'm baffled.
> 
> 
> I'm baffled too.  Have a look at your HEAD reflog and see if you
> can find it there (`git log -g`) as if you actually did in fact
> create it with git-commit it should appear in that reflog for at
> least the next 90 days (by default config anyway).
> 
Johannes Schindelin· Dec 16, 2007, 15:37 UTC · re: Luke Diamand · lore

Re: One of my commits is missing

Dscho Ciao,

it? was what so,

Hi,
On Sun, 16 Dec 2007, Luke Diamand wrote:
Show 22 quoted lines
> Thanks! That found it.
> 
> Shawn O. Pearce wrote:
> > Luke Diamand <luke@vidanti.com> wrote:
> > > My last commit seems to have vanished, and I wonder if anyone knows where
> > > it might have gone.
> > ...
> > > Looking through my history I don't see any signs of errant git-reset's so
> > > I'm baffled.
> > 
> > 
> > I'm baffled too.  Have a look at your HEAD reflog and see if you
> > can find it there (`git log -g`) as if you actually did in fact
> > create it with git-commit it should appear in that reflog for at
> > least the next 90 days (by default config anyway).
> > 
> 
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

← back to recent threads