projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
GIT 1.0.0a
[git.git]
/
Documentation
/
git-init-db.txt
diff --git
a/Documentation/git-init-db.txt
b/Documentation/git-init-db.txt
index
4486f0c
..
6deef92
100644
(file)
--- a/
Documentation/git-init-db.txt
+++ b/
Documentation/git-init-db.txt
@@
-40,9
+40,12
@@
Start a new git repository for an existing code base::
+
----------------
$ cd /path/to/my/codebase
+
----------------
$ cd /path/to/my/codebase
-$ git-init-db
-----------------
+$ git-init-db
<1>
+$ git-add . <2>
+<1> prepare /path/to/my/codebase/.git directory
+<2> add all existing file to the index
+----------------
Author
Author