# One of my commits is missing

4 messages from 2007-12-15 to 2007-12-16. Participants: Luke Diamand, Shawn O. Pearce, Johannes Schindelin.
Thread: https://gitlist.dev/t/11309

## Luke Diamand, 2007-12-15 22:16

Subject: One of my commits is missing
Message-ID: <47645232.7050502@vidanti.com>
URL: https://gitlist.dev/e/47645232.7050502%40vidanti.com

```

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, 2007-12-15 22:29

Subject: Re: One of my commits is missing
Message-ID: <20071215222925.GM14735@spearce.org>
URL: https://gitlist.dev/e/20071215222925.GM14735%40spearce.org
In-Reply-To: <47645232.7050502@vidanti.com>

```
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, 2007-12-16 09:11

Subject: Re: One of my commits is missing
Message-ID: <4764EBC3.4090800@vidanti.com>
URL: https://gitlist.dev/e/4764EBC3.4090800%40vidanti.com
In-Reply-To: <cmu-lmtpd-1776-1197757787-0@salieri>

```
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).
> 

```

## Johannes Schindelin, 2007-12-16 15:37

Subject: Re: One of my commits is missing
Message-ID: <Pine.LNX.4.64.0712161537140.27959@racer.site>
URL: https://gitlist.dev/e/Pine.LNX.4.64.0712161537140.27959%40racer.site
In-Reply-To: <4764EBC3.4090800@vidanti.com>

```
Dscho
Ciao,

it?
was
what
so,

Hi,

On Sun, 16 Dec 2007, Luke Diamand wrote:

> 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
> 

```
