59
--untracked-files[=<mode>]::
60
Show untracked files.
61
+
62
+--
63
The mode parameter is used to specify the handling of untracked files.
64
It is optional: it defaults to 'all', and if specified, it must be
65
stuck to the option (e.g. `-uno`, but not `-u no`).
65
-+
66
+
67
The possible options are:
67
-+
68
+
69
- 'no' - Show no untracked files.
70
- 'normal' - Shows untracked files and directories.
71
- 'all' - Also shows individual files in untracked directories.
71
-+
72
+
73
When `-u` option is not used, untracked files and directories are
74
shown (i.e. the same as specifying `normal`), to help you avoid
75
forgetting to add newly created files. Because it takes extra work
79
`git update-index --untracked-cache` and `git update-index
80
--split-index`), Otherwise you can use `no` to have `git status`
81
return more quickly without showing untracked files.
81
-+
82
+
83
The default can be changed using the status.showUntrackedFiles
84
configuration variable documented in linkgit:git-config[1].
85
+--
86
87
--ignore-submodules[=<when>]::
88
Ignore changes to submodules when looking for changes. <when> can be
102
--ignored[=<mode>]::
103
Show ignored files as well.
104
+
105
+--
106
The mode parameter is used to specify the handling of ignored files.
107
It is optional: it defaults to 'traditional'.
105
-+
108
+
109
The possible options are:
107
-+
110
+
111
- 'traditional' - Shows ignored files and directories, unless
112
--untracked-files=all is specified, in which case
113
individual files in ignored directories are
115
- 'no' - Show no ignored files.
116
- 'matching' - Shows ignored files and directories matching an
117
ignore pattern.
115
-+
118
+
119
When 'matching' mode is specified, paths that explicitly match an
120
ignored pattern are shown. If a directory matches an ignore pattern,
121
then it is shown, but not paths contained in the ignored directory. If
122
a directory does not match an ignore pattern, but all contents are
123
ignored, then the directory is not shown, but all contents are shown.
124
+--
125
126
-z::
127
Terminate entries with NUL, instead of LF. This implies