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

How to ignore a modified file?

From
Ddealmaker <vinkhc@gmail.com>
Date
Mar 5, 2009, 08:44 UTC
Message-ID
<1236242659559-2428157.post@n2.nabble.com>
Hi, 
  I run "git status", and I saw the a modified file in a directory.  I want
to ignore all files in that directory.  I put the directory name into
.gitignore, but it still shows as modified file.  Why?  How do I ignore the
directory?
Thanks.
-- 
View this message in context: http://n2.nabble.com/How-to-ignore-a-modified-file--tp2428157p2428157.html
Sent from the git mailing list archive at Nabble.com.
Next: Sverre Rabbelier
Message 1 of 3 in “How to ignore a modified file?”
  1. dealmakerMar 5, 2009
  2. Sverre RabbelierMar 5, 2009
  3. Robin RosenbergMar 5, 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.