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

Re: "exclude" and ".gitignore" for everyone

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Jun 1, 2009, 14:36 UTC
Message-ID
<vpqy6scc975.fsf@bauges.imag.fr>
In-Reply-To
<E6F58E6B-4ECF-4A55-9249-9A8BBFBDBC24@silverinsanity.com>
Brian Gernhardt <benji@silverinsanity.com> writes:
>  Generally, I'd suggest putting [...] your editor's garbage in
> exclude.
better: put them in a user-wide ignore file.
in ~/.gitconfig:
[core]
        excludesfile = /home/yourlogin/.gitignore
then put whatever you want in $HOME/.gitignore.
-- 
Matthieu
Previous: Nikos Chantziaras
Message 4 of 4 in “"exclude" and ".gitignore" for everyone”
  1. Nikos ChantziarasJun 1, 2009
  2. Brian GernhardtJun 1, 2009
  3. Nikos ChantziarasJun 1, 2009
  4. Matthieu MoyJun 1, 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.