Code

Merge branch 'jc/submodule-sync-no-auto-vivify'
[git.git] / Documentation / git-submodule.txt
index 5e7a4130eeec48c27abf92b37834613692446723..acb9002fe432c6849bd894567d2272bfbe8efdbc 100644 (file)
@@ -167,12 +167,14 @@ commit for each submodule.
 
 sync::
        Synchronizes submodules' remote URL configuration setting
-       to the value specified in .gitmodules.  This is useful when
+       to the value specified in .gitmodules. It will only affect those
+       submodules which already have an url entry in .git/config (that is the
+       case when they are initialized or freshly added). This is useful when
        submodule URLs change upstream and you need to update your local
        repositories accordingly.
 +
 "git submodule sync" synchronizes all submodules while
-"git submodule sync -- A" synchronizes submodule "A" only.
+"git submodule sync \-- A" synchronizes submodule "A" only.
 
 OPTIONS
 -------