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

Re: [PATCH] .gitignore: Ignore editor backup and swap files

From
Duy Nguyen <pclouds@gmail.com>
Date
Jan 17, 2014, 06:20 UTC
Message-ID
<CACsJy8DcrR0Rgp0cE+Va2ZBfvtvEJiFxkoXMrkwPj9bn621m9Q@mail.gmail.com>
In-Reply-To
<20140116224334.GS18964@google.com>
On Fri, Jan 17, 2014 at 5:43 AM, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 5 quoted lines
> Subject: gitignore doc: add global gitignore to synopsis
>
> The gitignore(5) manpage already documents $XDG_CONFIG_HOME/git/ignore
> but it is easy to forget that it exists.  Add a reminder to the
> synopsis.

Yes! I knew about the xdg thing but was not aware about $xdg/git/ignore. No more updating .git/info/exclude on every newly cloned repo..

-- 
Duy
Previous: Jonathan NiederNext: Ramsay Jones
Message 5 of 7 in “.gitignore: Ignore editor backup and swap files”
  1. .gitignore: Ignore editor backup and swap filesAlexander Berntsen, Jan 16, 2014
  2. Junio C HamanoJan 16, 2014
  3. Alexander BerntsenJan 16, 2014
  4. Jonathan NiederJan 16, 2014
  5. Duy NguyenJan 17, 2014
  6. Ramsay JonesJan 16, 2014
  7. David KastrupJan 17, 2014

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.