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

.gitignore not

From
JDJohn M. Dlugosz <ngnr63q02@sneakemail.com>
Date
May 1, 2012, 01:58 UTC
Message-ID
<29965-1335837520-563867@sneakemail.com>

I'm running on Windows, using msysgit. I have some files that were supposed to be symbolic links, but don't come out that way. I see them as plain files containing a relative name of another file. To make things work, I copied the actual file over the would-be link. I don't want to check in that change.

I set up a .gitignore, and it works for the directory in general, but three files that were symbolic links it keeps finding anyway: deleted symlink (for those that were directories) and binary files don't match (for a file). Even though those are under the directory I excluded with the .gitignore, it reports those anyway.

How do I tell my local copy of git to really ignore those? I don't want to stage it by accident.

—John
Next: Junio C Hamano
Message 1 of 2 in “.gitignore not”
  1. John M. DlugoszMay 1, 2012
  2. Junio C HamanoMay 1, 2012

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.