X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-init.txt;h=f081b24d9d8233677388d437b8f7e6d9402b261b;hb=0b4ae29f0328fb8c270030abad132e8f50e05381;hp=7151d12f349b7c6e265d5a4631029d71028a2c7d;hpb=afd9db4173b99fb2fb103ec604498896a6bedaa7;p=git.git diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt index 7151d12f3..f081b24d9 100644 --- a/Documentation/git-init.txt +++ b/Documentation/git-init.txt @@ -8,7 +8,7 @@ git-init - Create an empty git repository or reinitialize an existing one SYNOPSIS -------- -'git init' [-q | --quiet] [--bare] [--template=] [--shared[=]] +'git init' [-q | --quiet] [--bare] [--template=] [--shared[=]] [directory] OPTIONS @@ -74,6 +74,9 @@ By default, the configuration flag receive.denyNonFastForwards is enabled in shared repositories, so that you cannot force a non fast-forwarding push into it. +If you name a (possibly non-existent) directory at the end of the command +line, the command is run inside the directory (possibly after creating it). + --