Re: Objects deleted before first commit

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

 



On Tuesday, June 14, 2011, David Barr <davidbarr@xxxxxxxxxx> wrote:
> On Tue, Jun 14, 2011 at 11:00 PM, Edmondo Porcu
> <Edmondo.Porcu@xxxxxxxxxxxxxxxxx> wrote:
>> dangling blob 43cb00bb9f23b73afc874c4105b136f8c426e4a5
>> dangling blob 48ef642adb1549ee1d4040ec9337d3a47c19d422
> [...]
>
> Was it 'rm -rf' or 'git rm -rf'?
> If just the non-git command, maybe 'git checkout -- <missing paths>'?

Not if it was never checked in, unfortunately.

'git cat-file -p <hash>' prints the contents of the file.  It's up to
you to figure out which is the version you want and what the filenames
were.

-- 

-PJ
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]