Skip to content

Commit 7736f98

Browse files
committed
Merge branch 'pb/submodule-update-fetches' into next
Doc update. * pb/submodule-update-fetches: doc: mention that 'git submodule update' fetches missing commits
2 parents 7de6356 + f0e58b3 commit 7736f98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-submodule.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ update [--init] [--remote] [-N|--no-fetch] [--[no-]recommend-shallow] [-f|--forc
133133
+
134134
--
135135
Update the registered submodules to match what the superproject
136-
expects by cloning missing submodules and updating the working tree of
136+
expects by cloning missing submodules, fetching missing commits
137+
in submodules and updating the working tree of
137138
the submodules. The "updating" can be done in several ways depending
138139
on command line options and the value of `submodule.<name>.update`
139140
configuration variable. The command line option takes precedence over

0 commit comments

Comments
 (0)