diff options
Diffstat (limited to 'man1/git-init.1')
-rw-r--r-- | man1/git-init.1 | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/man1/git-init.1 b/man1/git-init.1 index 773ad968a..4fe5ec5c2 100644 --- a/man1/git-init.1 +++ b/man1/git-init.1 @@ -2,12 +2,12 @@ .\" Title: git-init .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2024-01-12 +.\" Date: 2024-01-16 .\" Manual: Git Manual -.\" Source: Git 2.43.0.334.gd4dbce1db5 +.\" Source: Git 2.43.0.367.g186b115d30 .\" Language: English .\" -.TH "GIT\-INIT" "1" "2024\-01\-12" "Git 2\&.43\&.0\&.334\&.gd4dbce" "Git Manual" +.TH "GIT\-INIT" "1" "2024\-01\-16" "Git 2\&.43\&.0\&.367\&.g186b11" "Git Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -34,6 +34,7 @@ git-init \- Create an empty Git repository or reinitialize an existing one .nf \fIgit init\fR [\-q | \-\-quiet] [\-\-bare] [\-\-template=<template\-directory>] [\-\-separate\-git\-dir <git\-dir>] [\-\-object\-format=<format>] + [\-\-ref\-format=<format>] [\-b <branch\-name> | \-\-initial\-branch=<branch\-name>] [\-\-shared[=<permissions>]] [<directory>] .fi @@ -75,6 +76,23 @@ Note: At present, there is no interoperability between SHA\-256 repositories and .sp Historically, we warned that SHA\-256 repositories may later need backward incompatible changes when we introduce such interoperability features\&. Today, we only expect compatible changes\&. Furthermore, if such changes prove to be necessary, it can be expected that SHA\-256 repositories created with today\(cqs Git will be usable by future versions of Git without data loss\&. .PP +\-\-ref\-format=<format> +.RS 4 +Specify the given ref storage format for the repository\&. The valid values are: +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} +\fBfiles\fR +for loose files with packed\-refs\&. This is the default\&. +.RE +.RE +.PP \-\-template=<template\-directory> .RS 4 Specify the directory from which templates will be used\&. (See the "TEMPLATE DIRECTORY" section below\&.) |