From: Junio C Hamano Date: Thu, 28 Aug 2008 02:50:50 +0000 (+0000) Subject: Autogenerated HTML docs for v1.6.0.1-126-ga118 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3;p=git.git Autogenerated HTML docs for v1.6.0.1-126-ga118 --- diff --git a/git-submodule.html b/git-submodule.html index e4037fd08..25c48a89d 100644 --- a/git-submodule.html +++ b/git-submodule.html @@ -326,7 +326,8 @@ git-submodule(1) Manual Page git submodule [--quiet] init [--] [<path>…] git submodule [--quiet] update [--init] [--] [<path>…] git submodule [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>…] -git submodule [--quiet] foreach <command> +git submodule [--quiet] foreach <command> +git submodule [--quiet] sync [--] [<path>…]

DESCRIPTION

@@ -471,6 +472,19 @@ foreach

As an example, "git submodule foreach echo $path git rev-parse HEAD will show the path and currently checked out commit for each submodule.

+
+sync +
+
+

+ Synchronizes submodules' remote URL configuration setting + to the value specified in .gitmodules. 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.

+

OPTIONS

@@ -553,7 +567,7 @@ for details.

diff --git a/git-submodule.txt b/git-submodule.txt index abbd5b72d..babaa9bc4 100644 --- a/git-submodule.txt +++ b/git-submodule.txt @@ -15,6 +15,7 @@ SYNOPSIS 'git submodule' [--quiet] update [--init] [--] [...] 'git submodule' [--quiet] summary [--summary-limit ] [commit] [--] [...] 'git submodule' [--quiet] foreach +'git submodule' [--quiet] sync [--] [...] DESCRIPTION @@ -139,6 +140,14 @@ foreach:: As an example, "git submodule foreach 'echo $path `git rev-parse HEAD`' will show the path and currently checked out commit for each submodule. +sync:: + Synchronizes submodules' remote URL configuration setting + to the value specified in .gitmodules. 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. OPTIONS -------