From: Abhijit Menon-Sen Date: Tue, 29 Jul 2008 19:53:16 +0000 (+0530) Subject: `git submodule add` now requires a X-Git-Tag: v1.6.0-rc2~58 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a56bf5850a07e9119cd7e53de1465af432642ef8;p=git.git `git submodule add` now requires a Signed-off-by: Abhijit Menon-Sen Signed-off-by: Junio C Hamano --- diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index c5641af19..00256ca57 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/user-manual.txt @@ -3458,7 +3458,7 @@ $ cd super $ git init $ for i in a b c d do - git submodule add ~/git/$i + git submodule add ~/git/$i $i done ------------------------------------------------- @@ -3471,10 +3471,10 @@ $ ls -a . .. .git .gitmodules a b c d ------------------------------------------------- -The `git-submodule add` command does a couple of things: +The `git-submodule add ` command does a couple of things: -- It clones the submodule under the current directory and by default checks out - the master branch. +- It clones the submodule from to the given under the + current directory and by default checks out the master branch. - It adds the submodule's clone path to the linkgit:gitmodules[5] file and adds this file to the index, ready to be committed. - It adds the submodule's current commit ID to the index, ready to be