![]() ![]() ![]() When "untracked" is used submodules are not considered dirty when they only contain untracked content (but they are still scanned for modified content). Using "none" will consider the submodule modified when it either contains untracked or modified files or its HEAD differs from the commit recorded in the superproject and can be used to override any settings of the can be either "none", "untracked", "dirty" or "all", which is the default. Ignore changes to submodules when looking for changes. The default can be changed using the status.showUntrackedFiles configuration variable documented in Return more quickly without showing untracked files. Git update-index -split-index), Otherwise you can use Consider enabling untracked cache and split index if supported (see ![]() Because it takes extra work to find untracked files in the filesystem, this mode may take some time in a large working tree. Normal), to help you avoid forgetting to add newly created files. Option is not used, untracked files and directories are shown (i.e. Also shows individual files in untracked directories. It is optional: it defaults toĪll, and if specified, it must be stuck to the option (e.g. The mode parameter is used to specify the handling of untracked files. Is specified twice, then also show the changes in the working tree that have not yet been staged (i.e., like the output of In addition to the names of files that have been changed, also show the textual changes that are staged to be committed (i.e., like the output of This is optional and defaults to the original version The version parameter is used to specify the format version. This is similar to the short output, but will remain stable across Git versions and regardless of user configuration. Give the output in an easy-to-parse format for scripts. Show the number of entries currently stashed away. Show the branch and tracking info even in short-format. The first are what you would commit by running git commit the second and third are what you could commit by running git add before running git commit. Git-status - Show the working tree statusĭisplays paths that have differences between the index file and the current HEAD commit, paths that have differences between the working tree and the index file, and paths in the working tree that are not tracked by Git (and are not ignored by gitignore(5)). ![]()
0 Comments
Leave a Reply. |