git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: PJ Weisberg <pjweisberg@gmail.com>
To: David Barr <davidbarr@google.com>
Cc: Edmondo Porcu <Edmondo.Porcu@gottexbrokers.com>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Objects deleted before first commit
Date: Tue, 14 Jun 2011 07:44:13 -0700	[thread overview]
Message-ID: <BANLkTin9_jfvtYdCsJLiWAoOvO2e1f=9SA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTik1jTq6otRvHwbo342oH7Dwy+vs_w@mail.gmail.com>

On Tuesday, June 14, 2011, David Barr <davidbarr@google.com> wrote:
> On Tue, Jun 14, 2011 at 11:00 PM, Edmondo Porcu
> <Edmondo.Porcu@gottexbrokers.com> 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

  reply	other threads:[~2011-06-14 14:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-14 12:43 Objects deleted before first commit Edmondo Porcu
2011-06-14 12:57 ` David Barr
2011-06-14 13:00   ` Edmondo Porcu
2011-06-14 13:06     ` David Barr
2011-06-14 14:44       ` PJ Weisberg [this message]
2011-06-14 14:46         ` Edmondo Porcu
2011-06-14 14:56           ` Carlos Martín Nieto
2011-06-14 14:57           ` PJ Weisberg
2011-06-14 14:59         ` Edmondo Porcu
2011-06-16 20:38         ` Tomas Carnecky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTin9_jfvtYdCsJLiWAoOvO2e1f=9SA@mail.gmail.com' \
    --to=pjweisberg@gmail.com \
    --cc=Edmondo.Porcu@gottexbrokers.com \
    --cc=davidbarr@google.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).