X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-init-db.txt;h=6deef92508417d32832766a683db213ad191256c;hb=1e2ccd3abc8f5d96244806f753568493c3e77d4c;hp=4486f0c1cf6d1ca910b3a171e92b05e17927dc43;hpb=5e80092f7e6db09a40a62e837ca3f74f0bc5ad73;p=git.git diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt index 4486f0c1..6deef925 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