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

Re: Idea regarding GIT

From
Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Date
Jan 12, 2026, 11:04 UTC
Message-ID
<aWTVUC8WuHxePfRO@ugly.lan>
In-Reply-To
<DU0PR09MB8272C80E049596044EF581C2B181A@DU0PR09MB8272.eurprd09.prod.outlook.com>
On Mon, Jan 12, 2026 at 02:53:49AM +0000, Krzysztof Zabłocki wrote:
Show 6 quoted lines
>I propose adding
>new configuration file (or parameter in .gitconfig) .gittemplates. Files
>listed in there had to be indexed before adding them to that file, otherwise
>it would work like .gitignore, but difference is if file was added git will
>not track changes in it and won't commit them.
>

at first sight this sounds functionally equivalent to "precious" ignored files, which was discussed here[1] last time.

[1] https://lore.kernel.org/git/pull.1627.git.1703643931314.gitgitgadget@gmail.com/T/#u
Previous: Krzysztof ZabłockiNext: brian m. carlson
Message 2 of 3 in “Idea regarding GIT”
  1. Krzysztof ZabłockiJan 12, 2026
  2. Oswald BuddenhagenJan 12, 2026
  3. brian m. carlsonJan 12, 2026

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.