summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2009-08-05 12:39:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-08-05 12:39:33 -0700
commit0397ff24698ee39954f25dda7b45de5a2767f642 (patch)
tree1a9414511d358a3acd3c61440a588789fe3ce879 /Documentation
parentMerge branch 'mk/init-db-parse-options' (diff)
parentgit init: optionally allow a directory argument (diff)
downloadtgif-0397ff24698ee39954f25dda7b45de5a2767f642.tar.xz
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).
+
--