On Mon, Jan 12, 2026 at 02:53:49AM +0000, Krzysztof Zabłocki wrote:
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 (local)