Configure options below — the preview updates in real time.
Files, paths, or wildcard patterns to ignore. Git applies standard globbing (*, ?, [ranges]) and double-asterisks (**) for deep matching.
General list of files, directories, or glob patterns to ignore (e.g. *.log, node_modules, **/*.txt).
Patterns that ignore directories only (not regular files with the same name). A trailing slash is appended automatically in the generated file.
Directories to ignore. A trailing / is appended in the output.
Patterns that match only relative to the directory containing the .gitignore file. A leading slash is prepended automatically to prevent matching in subdirectories.
Patterns anchored to the .gitignore file location. A leading / is prepended in the output.
Re-include files that were excluded by earlier rules. A ! prefix is prepended automatically. Note: Git cannot re-include a file if its parent directory is already excluded.
Patterns to explicitly track despite earlier ignore rules. A ! is prepended in output.
Explanatory notes to annotate sections. A # prefix is prepended to each line.
Annotations or notes explaining why certain patterns are ignored.
1