git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sverre Rabbelier <srabbelier@gmail.com>
To: Phlip <phlip2005@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: fuggedabadit
Date: Sun, 14 Jun 2009 10:25:31 +0200	[thread overview]
Message-ID: <fabb9a1e0906140125v17e056c0o4bab3d7e8aead6ab@mail.gmail.com> (raw)
In-Reply-To: <4A3481CD.7050602@gmail.com>

Heya,

On Sun, Jun 14, 2009 at 06:51, Phlip<phlip2005@gmail.com> wrote:
> How do I tell git to forget about a file, but leave on my hard drive?

Do you want to simply 'git rm --cached && git commit -m "remove file"'
 to create a commit that removes it, or do you want to remove the file
from your repo's history too? If the latter is the case, you should
look into 'git filter-branch'.

-- 
Cheers,

Sverre Rabbelier

      parent reply	other threads:[~2009-06-14  8:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <S1750942AbZFNEso/20090614044844Z+270@vger.kernel.org>
2009-06-14  4:51 ` fuggedabadit Phlip
2009-06-14  7:07   ` fuggedabadit Santi Béjar
2009-06-14  8:25   ` Sverre Rabbelier [this message]

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=fabb9a1e0906140125v17e056c0o4bab3d7e8aead6ab@mail.gmail.com \
    --to=srabbelier@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=phlip2005@gmail.com \
    /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).