diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-08-05 12:39:33 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-08-05 12:39:33 -0700 |
commit | 0397ff24698ee39954f25dda7b45de5a2767f642 (patch) | |
tree | 1a9414511d358a3acd3c61440a588789fe3ce879 /Documentation | |
parent | 4d4097da6b158ba5eeaa9ac0ccc5d704126f1991 (diff) | |
parent | 53d48885931614a43e414e1272a7f126f8d0c901 (diff) | |
download | git-0397ff24698ee39954f25dda7b45de5a2767f642.tar.gz |
Merge branch 'ns/init-mkdir'
* ns/init-mkdir:
git init: optionally allow a directory argument
Conflicts:
builtin-init-db.c
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-init.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-init.txt b/Documentation/git-init.txt index 7151d12f34..f081b24d9d 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=<template_directory>] [--shared[=<permissions>]] +'git init' [-q | --quiet] [--bare] [--template=<template_directory>] [--shared[=<permissions>]] [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). + -- |