mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 06:26:05 +02:00

* git-add: sync Spanish translation * git-branch: sync Spanish translation * git-clone: sync Spanish translation * git-commit: sync Spanish translation * git-init: sync Spanish translation
16 lines
414 B
Markdown
16 lines
414 B
Markdown
# git init
|
|
|
|
> Inicializa un nuevo repositorio Git local.
|
|
> Más información: <https://git-scm.com/docs/git-init>.
|
|
|
|
- Inicializa un nuevo repositorio local:
|
|
|
|
`git init`
|
|
|
|
- Inicializa un repositio usando SHA256 como hash del objeto (requiere la versión 2.29+ de Git):
|
|
|
|
`git init --object-format={{sha256}}`
|
|
|
|
- Inicializa un repositorio vacío, adecuado para usarlo como remoto a través de ssh:
|
|
|
|
`git init --bare`
|