diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-07-06 22:35:57 -0700 |
commit | a89117826695bd15a06ab893f088622d58d49b0f (patch) | |
tree | 70a28e4da17998aca0ba3e65532c146377dc655b /git-init.txt | |
parent | cb66540f7a8e62233e4f403871e927e8de01bb3f (diff) | |
download | git-htmldocs-a89117826695bd15a06ab893f088622d58d49b0f.tar.gz |
Autogenerated HTML docs for v2.27.0-343-g4a0fcf
Diffstat (limited to 'git-init.txt')
-rw-r--r-- | git-init.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/git-init.txt b/git-init.txt index adc6adfd3..ddfe265da 100644 --- a/git-init.txt +++ b/git-init.txt @@ -10,7 +10,8 @@ SYNOPSIS -------- [verse] 'git init' [-q | --quiet] [--bare] [--template=<template_directory>] - [--separate-git-dir <git dir>] [--object-format=<format] + [--separate-git-dir <git dir>] [--object-format=<format>] + [-b <branch-name> | --initial-branch=<branch-name>] [--shared[=<permissions>]] [directory] @@ -67,6 +68,12 @@ repository. + If this is reinitialization, the repository will be moved to the specified path. +-b <branch-name:: +--initial-branch=<branch-name>:: + +Use the specified name for the initial branch in the newly created repository. +If not specified, fall back to the default name: `master`. + --shared[=(false|true|umask|group|all|world|everybody|0xxx)]:: Specify that the Git repository is to be shared amongst several users. This |