gitignore
gitignore
Name
gitignore - Specifies intentionally untracked files to ignore
Synopsis
$HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore
Description
A gitignore
file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below for details.
Each line in a gitignore
file specifies a pattern. When deciding whether to ignore a path, Git normally checks gitignore
patterns from multiple sources, with the following order of precedence, from highest to lowest (within one level of precedence, the last matching pattern decides the outcome):
-
Patterns read from the command line for those commands that support them.