summaryrefslogtreecommitdiff
path: root/Documentation/git-init-db.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-12 23:24:06 -0800
committerJunio C Hamano <junkio@cox.net>2005-12-12 23:24:06 -0800
commit1e2ccd3abc8f5d96244806f753568493c3e77d4c (patch)
tree524282ab2ba2d33192eceac97968eb61307c6c5a /Documentation/git-init-db.txt
parent180c4746479892a9e58918b0d45f89911cb48716 (diff)
downloadgit-1e2ccd3abc8f5d96244806f753568493c3e77d4c.tar.gz
Documentation: more examples.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-init-db.txt')
-rw-r--r--Documentation/git-init-db.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt
index 4486f0c1cf..6deef92508 100644
--- 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
-$ 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