1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:22:09 +02:00
tldr/pages.it/common/git-add.md
Managor 435cb8ce29
*: fix style guide issues part 3 (#15786)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-07 13:43:12 +02:00

510 B

git add

Aggiungi file nuovi o modificati all'area di stage. Maggiori informazioni: https://git-scm.com/docs/git-add.

  • Aggiungi un file all'area di stage:

git add {{percorso/del/file}}

  • Aggiungi tutti i file (tracciati e non tracciati):

git add {{[-A|--all]}}

  • Aggiungi solo i file già tracciati:

git add {{[-u|--update]}}

  • Aggiungi anche i file ignorati:

git add {{[-f|--force]}}

  • Aggiungi parti di un file in modo interattivo:

git add {{[-p|--patch]}} {{percorso/del/file}}