Git · Option
.gitignore
A .gitignore file tells Git which untracked paths to ignore. Its patterns support directory-relative matching, wildcards, and exceptions with !.
Last updated
Syntax
.gitignore
$XDG_CONFIG_HOME/git/ignore
$GIT_COMMON_DIR/info/excludeIn-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
git rm --cachedgit-check-ignorecore.excludesFile$GIT_COMMON_DIR/info/exclude