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

Re: Configurable .gitignore filename?

From
JPJari Pennanen <jari.pennanen@gmail.com>
Date
Mar 4, 2013, 15:47 UTC
Message-ID
<CACoicvKMWSjU6Lf-2PsCShzqGiX-=2xF9+W0EtrHUzWPU7-T_A@mail.gmail.com>
In-Reply-To
<vpqzjyjp8y0.fsf@grenoble-inp.fr>
2013/3/4 Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>:
> There is already core.excludesfile, which does not replace the usual
> .gitignore but comes in addition. The common use is a user-wide ignore
> file, not a per-directory one.

I'm actually aware of that. Problem is the normal .gitignore files must *not* be used in the second GIT_DIR at all, in my case it's for syncing so I need to sync almost all files (including stuff inside .gitignore), though I'd still like to retain some ignore files for second GIT_DIR, e.g. like in rsync the .rsync-filter file.

Previous: Matthieu MoyNext: David Aguilar
Message 3 of 5 in “Configurable .gitignore filename?”
  1. Jari PennanenMar 4, 2013
  2. Matthieu MoyMar 4, 2013
  3. Jari PennanenMar 4, 2013
  4. David AguilarMar 5, 2013
  5. Jari PennanenMar 5, 2013

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.