Documentation: git-init: flesh out example

Add a third step `git commit` after adding files for the first time. Signed-off-by: Linus Arver <linusarver@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Linus Arver committed Aug 8, 2014 at 10:29 UTC 64de2e10a0acdcf9558317cca77ed3c5622d7a49
1 file changed +2
Documentation/git-init.txt
+2
@@ -141,10 +141,12 @@ Start a new Git repository for an existing code base::
141 $ cd /path/to/my/codebase
142 $ git init <1>
143 $ git add . <2>
144 +$ git commit <3>
145 ----------------
146 +
147 <1> Create a /path/to/my/codebase/.git directory.
148 <2> Add all existing files to the index.
149 +<3> Record the pristine state as the first commit in the history.
150
151 GIT
152 ---