X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-init.txt;h=f081b24d9d8233677388d437b8f7e6d9402b261b;hb=abf411e28d9df669b0e690578a1eb95c0bd29847;hp=7151d12f349b7c6e265d5a4631029d71028a2c7d;hpb=d91ba8fa88a83ec70588700a56c8a4c1e8beb1be;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). + --