diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2008-08-28 02:50:50 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2008-08-28 02:50:50 +0000 |
commit | f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3 (patch) | |
tree | 7118ed41f87e65516a989041c3195980c1848fc6 /git-submodule.txt | |
parent | 0551f6a8c88b739b0939e7135c4df8dd93ebf93f (diff) | |
download | git-htmldocs-f9e04eb9a776f91e487bc56bd35c2d6cff4a4cc3.tar.gz |
Autogenerated HTML docs for v1.6.0.1-126-ga118
Diffstat (limited to 'git-submodule.txt')
-rw-r--r-- | git-submodule.txt | 9 |
1 files changed, 9 insertions, 0 deletions
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] [--] [<path>...] 'git submodule' [--quiet] summary [--summary-limit <n>] [commit] [--] [<path>...] 'git submodule' [--quiet] foreach <command> +'git submodule' [--quiet] sync [--] [<path>...] 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 ------- |