Skip to content

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

Open
@LemmingAvalanche

Description

A precious file is a special kind of ignored file:

  • Untracked and ignored
  • Not deleted by commands like git clean -fdx

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/[email protected]/T/#m8cc303540c72c3b8f80c8e21dec5fb0acd8253a0

See also (2011) https://lore.kernel.org/git/[email protected]/

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions