aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-add.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-add.adoc')
-rw-r--r--Documentation/git-add.adoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-add.adoc b/Documentation/git-add.adoc
index 6192daeb03..941135dc63 100644
--- a/Documentation/git-add.adoc
+++ b/Documentation/git-add.adoc
@@ -75,7 +75,10 @@ in linkgit:gitglossary[7].
`-f`::
`--force`::
- Allow adding otherwise ignored files.
+ Allow adding otherwise ignored files. The option is also used when
+ `submodule.<name>.ignore=all` is set, but you want to stage an
+ update of the submodule. The `path` to the submodule must be explicitly
+ specified.
`--sparse`::
Allow updating index entries outside of the sparse-checkout cone.