git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Santi Béjar
Message 3 of 3 in “fuggedabadit”
  1. PhlipJun 14, 2009
  2. Santi BéjarJun 14, 2009
  3. Sverre RabbelierJun 14, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.