Skip to contentSkip to conversation

One of my commits is missing

DISCUSSION Luke Diamand 3 participants 4 messages Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · Luke Diamand

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

...

Quoted 2 lines

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

Signature · 1 line
Shawn.
#3 lore raw
In reply to a message not in the archive

Thanks! That found it.

Quoted 11 lines · Shawn O. Pearce
Quoted 1 line · Luke Diamand

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

...

Quoted 1 line

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

#4 lore raw

Dscho
Ciao,

it?
was
what
so,

Hi,

Quoted 22 lines · Luke Diamand

Thanks! That found it.

Quoted 4 lines · Shawn O. Pearce
Quoted 2 lines · Luke Diamand

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

...

Quoted 9 lines
Quoted 2 lines

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html