X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-init-db.txt;h=99f96f7d4f67f07ed7ce6bcdcccdba795a80a93d;hb=000182eacf99cde27d5916aa415921924b82972c;hp=febc8c811dd27e5e45789dab4ff67d373f00f6d3;hpb=2cf565c53c88c557eedd7e5629437b3c6fe74329;p=git.git diff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt index febc8c81..99f96f7d 100644 --- a/Documentation/git-init-db.txt +++ b/Documentation/git-init-db.txt @@ -16,6 +16,9 @@ DESCRIPTION This simply creates an empty git object database - basically a `.git` directory and `.git/object/??/` directories. +If the 'GIT_DIR' environment variable is set then it specifies a path +to use instead of `./.git` for the base of the repository. + If the object storage directory is specified via the 'GIT_OBJECT_DIRECTORY' environment variable then the sha1 directories are created underneath - otherwise the default `.git/objects` directory is used.