X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-submodule.txt;fp=Documentation%2Fgit-submodule.txt;h=5e7a4130eeec48c27abf92b37834613692446723;hb=0d405d72f5ffb499b40dd3a95886ae5a1fc13b30;hp=1a16ff60448a72bebcba2daff7dbabc5feed8a4c;hpb=2d23c64ba2e91029f4ce932117a1772378d63cf3;p=git.git diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt index 1a16ff604..5e7a4130e 100644 --- a/Documentation/git-submodule.txt +++ b/Documentation/git-submodule.txt @@ -186,8 +186,10 @@ OPTIONS -f:: --force:: - This option is only valid for the add command. - Allow adding an otherwise ignored submodule path. + This option is only valid for add and update commands. + When running add, allow adding an otherwise ignored submodule path. + When running update, throw away local changes in submodules when + switching to a different commit. --cached:: This option is only valid for status and summary commands. These