Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-08-05 23:39:33 +0400
committerJunio C Hamano <gitster@pobox.com>2009-08-05 23:39:33 +0400
commit0397ff24698ee39954f25dda7b45de5a2767f642 (patch)
tree1a9414511d358a3acd3c61440a588789fe3ce879 /Documentation
parent4d4097da6b158ba5eeaa9ac0ccc5d704126f1991 (diff)
parent53d48885931614a43e414e1272a7f126f8d0c901 (diff)
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.txt5
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).
+
--