summaryrefslogtreecommitdiffstats
path: root/git-submodule.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-10-26 15:24:37 -0700
committerJunio C Hamano <gitster@pobox.com>2016-10-26 15:24:37 -0700
commit4a401d5d92702e0028f6a84625d0cac6218502f6 (patch)
tree2a4cfb0e8efa777e3084bcb796850963b2f8a6c8 /git-submodule.txt
parentc0859f7292882e15477dfc88025e14ce83a625db (diff)
downloadgit-htmldocs-4a401d5d92702e0028f6a84625d0cac6218502f6.tar.gz
Autogenerated HTML docs for v2.10.1-613-g2cc2e
Diffstat (limited to 'git-submodule.txt')
-rw-r--r--git-submodule.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/git-submodule.txt b/git-submodule.txt
index bf3bb372e..d84157347 100644
--- a/git-submodule.txt
+++ b/git-submodule.txt
@@ -259,7 +259,9 @@ OPTIONS
--branch::
Branch of repository to add as submodule.
The name of the branch is recorded as `submodule.<name>.branch` in
- `.gitmodules` for `update --remote`.
+ `.gitmodules` for `update --remote`. A special value of `.` is used to
+ indicate that the name of the branch in the submodule should be the
+ same name as the current branch in the current repository.
-f::
--force::