1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 00:42:08 +02:00
tldr/pages.it/common/git-init.md
Luca 89725aa36f
git-init: update Italian translation (#10168)
* git-init: update Italian translation
2023-06-13 19:13:37 +05:30

559 B

git init

Inizializza un nuovo repository Git locale. Maggiori informazioni: https://git-scm.com/docs/git-init.

  • Inizializza un nuovo repository locale:

git init

  • Inizializza un repository con il nome specificato per il ramo iniziale:

git init --initial-branch={{nome_ramo}}

  • Inizializza un repository usando SHA256 per gli hash degli oggetti (richiede Git versione 2.29+):

git init --object-format={{sha256}}

  • Inizializza un repository di soli dati, adatto per essere usato come server remoto accessibile via ssh:

git init --bare