On Sat, May 19, 2007 at 07:52:45AM -0400, Jeff King wrote: > On Sat, May 19, 2007 at 03:30:11AM -0700, Robin H. Johnson wrote: > > Problem: > > -------- > > A bunch of my commits are NOT present in git-log, git-rev-list, or any > > tool that provides the history of my branches. > > > > If I hack around and recover the commitid, I can pass it to git-show, > > and the commit does still exist in the data. > > > > git-fsck --unreachable does not list the commit in question either, but > > does list other blobs and trees. > Are you sure it isn't in your reflog? Try 'git reflog show' or 'git log > -g'. Ahh, they do show up there (and I learnt a new git command now, thanks) - the ones that I can remember the Subject lines for anyway. Any hints for the future on finding stuff that is in the reflog but not in the tree? (Remembering every subject line isn't feasible). -- Robin Hugh Johnson Gentoo Linux Developer & Council Member E-Mail : robbat2@xxxxxxxxxx GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
Attachment:
pgpS9iYS2QnHG.pgp
Description: PGP signature