diff options
Diffstat (limited to 'Documentation/git-status.txt')
-rw-r--r-- | Documentation/git-status.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/git-status.txt b/Documentation/git-status.txt index a051b1e8f3..10fecc51a7 100644 --- a/Documentation/git-status.txt +++ b/Documentation/git-status.txt @@ -245,11 +245,12 @@ U U unmerged, both modified .... Submodules have more state and instead report - M the submodule has a different HEAD than - recorded in the index - m the submodule has modified content - ? the submodule has untracked files -since modified content or untracked files in a submodule cannot be added + +* 'M' = the submodule has a different HEAD than recorded in the index +* 'm' = the submodule has modified content +* '?' = the submodule has untracked files + +This is since modified content or untracked files in a submodule cannot be added via `git add` in the superproject to prepare a commit. 'm' and '?' are applied recursively. For example if a nested submodule |