aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-02 15:58:36 -0700
committerJunio C Hamano <gitster@pobox.com>2011-05-02 15:58:36 -0700
commit0d405d72f5ffb499b40dd3a95886ae5a1fc13b30 (patch)
tree5508dff285aa24e08475eae9b2d7380800881e45 /Documentation/git-submodule.txt
parent2d23c64ba2e91029f4ce932117a1772378d63cf3 (diff)
parent9db31bdf5c834689c826f809d6d15bf7ab8d3598 (diff)
downloadgit-0d405d72f5ffb499b40dd3a95886ae5a1fc13b30.tar.gz
Merge branch 'nm/submodule-update-force'
* nm/submodule-update-force: submodule: Add --force option for git submodule update Conflicts: t/t7406-submodule-update.sh
Diffstat (limited to 'Documentation/git-submodule.txt')
-rw-r--r--Documentation/git-submodule.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index 1a16ff6044..5e7a4130ee 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