mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
git-init: add --initial-branch example (#5990)
This commit is contained in:
parent
f2b054d0e1
commit
9c2d5b51a6
2 changed files with 9 additions and 1 deletions
|
@ -7,7 +7,11 @@
|
|||
|
||||
`git init`
|
||||
|
||||
- Inicializa un repositio usando SHA256 como hash del objeto (requiere la versión 2.29+ de Git):
|
||||
- Inicializa un repositorio con un nombre especifico para la rama inicial:
|
||||
|
||||
`git init --initial-branch={{nombre_de_la_rama}}`
|
||||
|
||||
- Inicializa un repositorio usando SHA256 como hash del objeto (requiere la versión 2.29+ de Git):
|
||||
|
||||
`git init --object-format={{sha256}}`
|
||||
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
`git init`
|
||||
|
||||
- Initialize a repository with the specified name for the initial branch:
|
||||
|
||||
`git init --initial-branch={{branch_name}}`
|
||||
|
||||
- Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
|
||||
|
||||
`git init --object-format={{sha256}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue