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

Re: ignored files stilll listed in git ls-files

From
Boyd Stephen Smith Jr. <bss@iguanasuicide.net>
Date
Mar 5, 2009, 01:41 UTC
Message-ID
<200903041941.55693.bss@iguanasuicide.net>
In-Reply-To
<53e35fd50903041731v1a3c10c9sbb9295f322a819ce@mail.gmail.com>
On Wednesday 04 March 2009 19:31:55 you wrote:
> I add all the files to git before I learned the .gitignore file. Then
> I remove those unwanted files from the index. But those files still
> appear in git ls-files. This is really annoying. Is there any want to
> prevent those ignored files from git ls-files?
git filter-branch
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
bss@iguanasuicide.net                   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/
Previous: David ShenNext: Jeff King
Message 2 of 5 in “ignored files stilll listed in git ls-files”
  1. David ShenMar 5, 2009
  2. Boyd Stephen Smith Jr.Mar 5, 2009
  3. Jeff KingMar 5, 2009
  4. David ShenMar 6, 2009
  5. Jeff KingMar 6, 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.