summaryrefslogtreecommitdiff
path: root/Documentation/git-pull.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-07-13 23:14:54 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-07-13 23:14:54 (GMT)
commitc9c63ee558ce3399bd2016388da9676d4f5ecf55 (patch)
tree6a799522833b916186424ff760e99818f3fe722c /Documentation/git-pull.txt
parent91f69225443b3be8d3f11c5c71795169d7d00737 (diff)
parente8906a9019799c0761ab5447b67582ffd9bae558 (diff)
downloadgit-c9c63ee558ce3399bd2016388da9676d4f5ecf55.zip
git-c9c63ee558ce3399bd2016388da9676d4f5ecf55.tar.gz
git-c9c63ee558ce3399bd2016388da9676d4f5ecf55.tar.bz2
Merge branch 'sb/pull-rebase-submodule'
"git pull --rebase --recurse-submodules" learns to rebase the branch in the submodules to an updated base. * sb/pull-rebase-submodule: builtin/fetch cleanup: always set default value for submodule recursing pull: optionally rebase submodules (remote submodule changes only) builtin/fetch: parse recurse-submodules-default at default options parsing builtin/fetch: factor submodule recurse parsing out to submodule config
Diffstat (limited to 'Documentation/git-pull.txt')
-rw-r--r--Documentation/git-pull.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt
index 9db5e08..ce05b7a 100644
--- a/Documentation/git-pull.txt
+++ b/Documentation/git-pull.txt
@@ -86,12 +86,12 @@ OPTIONS
--[no-]recurse-submodules[=yes|on-demand|no]::
This option controls if new commits of all populated submodules should
- be fetched too (see linkgit:git-config[1] and linkgit:gitmodules[5]).
- That might be necessary to get the data needed for merging submodule
- commits, a feature Git learned in 1.7.3. Notice that the result of a
- merge will not be checked out in the submodule, "git submodule update"
- has to be called afterwards to bring the work tree up to date with the
- merge result.
+ be fetched and updated, too (see linkgit:git-config[1] and
+ linkgit:gitmodules[5]).
++
+If the checkout is done via rebase, local submodule commits are rebased as well.
++
+If the update is done via merge, the submodule conflicts are resolved and checked out.
Options related to merging
~~~~~~~~~~~~~~~~~~~~~~~~~~