Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
`git submodule add` now requires a <path>
author
Abhijit Menon-Sen
<ams@toroid.org>
Tue, 29 Jul 2008 19:53:16 +0000
(
01:23
+0530)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 30 Jul 2008 06:18:04 +0000
(23:18 -0700)
Signed-off-by: Abhijit Menon-Sen <ams@toroid.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/user-manual.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
1ce4790
)
diff --git
a/Documentation/user-manual.txt
b/Documentation/user-manual.txt
index c5641af19059f5531e43bd4d4ff495548030fe98..00256ca57cc7453ef4a0dce90169078ee96e95e3 100644
(file)
--- 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 init
$ for i in a b c d
do
- git submodule add ~/git/$i
+ git submodule add ~/git/$i
$i
done
-------------------------------------------------
done
-------------------------------------------------
@@
-3471,10
+3471,10
@@
$ ls -a
. .. .git .gitmodules a b c d
-------------------------------------------------
. .. .git .gitmodules a b c d
-------------------------------------------------
-The `git-submodule add` command does a couple of things:
+The `git-submodule add
<repo> <path>
` 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 <repo> to the given <path> 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
- 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