Two Git ignore files nobody told me about
The author highlights two lesser-known Git ignore files: .git/info/exclude and .gitattributes. The .git/info/exclude file is a file that is specific to a repository and can be used to ignore files that should not be tracked by Git, similar to .gitignore. The .gitattributes file is used to specify file attributes for the Git version control system. The author notes that .git/info/exclude is not well-documented and may not be widely known, but it can be a useful tool for customizing Git behavior in a repository. The .gitattributes file is used to specify things like line endings and text file encoding. The author notes that these files are not widely discussed in the Git community, but they can be useful for developers who need more control over their Git repositories.
Read the full article at mihai.dinculescu.dev →