gitgitgadget / git

GitGitGadget's Git fork. Open Pull Requests here to submit them to the Git mailing list
https://gitgitgadget.github.io/
Other
204 stars 132 forks source link

Add the concept of a “precious” file (ignored but not to be “cleaned” away) #1597

Open LemmingAvalanche opened 9 months ago

LemmingAvalanche commented 9 months ago

A precious file is a special kind of ignored file:

The idea is that some files are not tracked by the project but is useful to the user. Like the .idea directory (Intellij configuration).

From https://lore.kernel.org/git/xmqqttqytnqb.fsf@gitster.g/T/#m8cc303540c72c3b8f80c8e21dec5fb0acd8253a0

See also (2011) https://lore.kernel.org/git/7vipsnar23.fsf@alter.siamese.dyndns.org/

LemmingAvalanche commented 5 months ago

Current email threads on this topic can be found by searching for precious-files.txt.

dscho commented 5 months ago

Current email thread is here: https://lore.kernel.org/git/pull.1627.git.1703643931314.gitgitgadget@gmail.com/#r