tldr/pages.it/common/git-lfs.md
Guido Lena Cota b1a891a34a
git*: add Italian translation (#4627)
* git-archive: add italian translation

* git-bundle: add italian translation

* git-cat-file: add italian translation

* git-describe: add italian translation

* git-ignore: add italian translation

* git-instaweb: add italian translation

* git-lfs: add italian translation

* git-log: add italian translation

* git-ls-remote: add italian translation

* git-ls-tree: add italian translation
2020-10-11 00:46:17 -03:00

791 B

git lfs

Lavora con file di grandi dimensioni in repository Git. Maggiori informazioni: https://git-lfs.github.com.

  • Inizializza Git LFS:

git lfs install

  • Tieni traccia dei file che soddisfano un criterio glob:

git lfs track '{{*.bin}}'

  • Cambia l'URL endpoint di Git LFS (utile quando server LFS e server Git sono separati):

git config -f .lfsconfig lfs.url {{lfs_url_endpoint}}

  • Elenca i criteri tracciati:

git lfs track

  • Elenca i file tracciati che sono già stati salvati in un commit:

git lfs ls-files

  • Invia tutti gli oggetti Git LFS al server remoto (utile in caso di errori):

git lfs push --all {{nome_repository_remoto}} {{nome_ramo}}

  • Scarica tutti gli oggetti Git LFS:

git lfs fetch

  • Ripristina gli oggetti Git LFS:

git lfs checkout