Unverified50% confidenceFactExact time
~/.config/git/ignore is the default lookup path for Git 2.x and takes effect even without explicitly configuring core.excludesFile
1
Sources
50%
Confidence
Long-term
Relevance
9/23/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedGit configuration is divided into three levels: system-level (/etc/gitconfig), user-level (~/.gitconfig), and repository-level (.git/config).75% similarUnverifiedGit provides three ignore files: the project-level .gitignore, the global core.excludesFile, and the local .git/info/exclude75% similarUnverified.gitignore takes effect at the git add stage, making matching files completely 'invisible' to Git.74% similarUnverified.git/info/exclude uses exactly the same syntax as .gitignore, but is not committed because the .git directory is not under version control74% similarUnverifiedFor files that have already been tracked by Git, subsequently adding them to .gitignore will have no effect; the git rm --cached command must first be used to untrack them.71% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/944078API
curl https://kongchang.com/api/v1/knowledge/claims/944078MCP
get_claim(id=944078)