Code

Merge branch 'nm/submodule-update-force'
[git.git] / Documentation / git-submodule.txt
index 1a16ff60448a72bebcba2daff7dbabc5feed8a4c..5e7a4130eeec48c27abf92b37834613692446723 100644 (file)
@@ -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