Re: fuggedabadit
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Jun 14, 2009, 08:25 UTC
- Message-ID
- <fabb9a1e0906140125v17e056c0o4bab3d7e8aead6ab@mail.gmail.com>
- 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