Developer tools
.gitignore is not the only way to ignore files in Git
- Category: Dev tools
- Status: discussion
- Sources: nelson.cloud, discussion
- Summary: A reference post walks through Git's ignore mechanisms beyond a tracked .gitignore: the per-repo .git/info/exclude, the global core.excludesFile, and assume-unchanged and skip-worktree for tracked files. It clarifies which mechanism is local-only versus shared.
- Why it matters: The distinction between shared and local ignore rules is a common source of accidental commits and confusion in teams.