diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-10-26 15:24:37 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-26 15:24:37 -0700 |
commit | 4a401d5d92702e0028f6a84625d0cac6218502f6 (patch) | |
tree | 2a4cfb0e8efa777e3084bcb796850963b2f8a6c8 /git-submodule.txt | |
parent | c0859f7292882e15477dfc88025e14ce83a625db (diff) | |
download | git-htmldocs-4a401d5d92702e0028f6a84625d0cac6218502f6.tar.gz |
Autogenerated HTML docs for v2.10.1-613-g2cc2e
Diffstat (limited to 'git-submodule.txt')
-rw-r--r-- | git-submodule.txt | 4 |
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:: |