git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: fREW <frioux@gmail.com>
To: git@vger.kernel.org
Subject: Deleted files can't be checked back out?
Date: Thu, 22 May 2008 23:28:57 -0500	[thread overview]
Message-ID: <fb3648c60805222128v1a425c60kc8e44f3a2fb41d54@mail.gmail.com> (raw)

Hello all,

I recently deleted a bunch of files and checked the change into git,
and then changed my mind and wanted the files back.  I did a
git-checkout <file> and got each file back individually.  Then I did
some work and did a git-push to upload to github. Then I did more work
and tried to do a git push and it gave me an error that apparently
meant I had to pull before I pushed.  Anyway, I pulled, it redeleted
the files and now when I do git-checkout <file> to get them back it
says:

error: pathspec 'foo' did not match any file(s) known to git.

I'd really appreciate some help on this issue. I tried messing with
qgit to look at it, but I didn't have much luck...

-fREW

             reply	other threads:[~2008-05-23  4:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-23  4:28 fREW [this message]
2008-05-23  6:28 ` Deleted files can't be checked back out? Chris Frey
2008-05-25 23:37   ` fREW
2008-05-24  0:43 ` Jakub Narebski

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=fb3648c60805222128v1a425c60kc8e44f3a2fb41d54@mail.gmail.com \
    --to=frioux@gmail.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).