File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,9 @@ in linkgit:gitglossary[7].
7777
7878`-f` ::
7979`--force` ::
80- Allow adding otherwise ignored files.
80+ Allow adding otherwise ignored files. The option is also used
81+ when you update to submodules and `submodule.<name>.ignore=all`
82+ is set.
8183
8284`--sparse` ::
8385 Allow updating index entries outside of the sparse-checkout cone.
Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ submodule.<name>.ignore::
7070--
7171 all;; The submodule will never be considered modified (but will
7272 nonetheless show up in the output of status and commit when it has
73- been staged).
73+ been staged). Add `(new commits)` can be overruled using the
74+ `git add --force` similar to ignored files. For `status` ,
75+ `update-index` , `diff` and `log` (due to underlaying `diff` )
7476
7577 dirty;; All changes to the submodule's work tree will be ignored, only
7678 committed differences between the `HEAD` of the submodule and its
You can’t perform that action at this time.
0 commit comments