mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:02:08 +02:00

- Replace "al" -> "del", "alla" -> "della", etc. in command paths - Replace all instances of "cartella" with "directory" - Update contributing-guides/translation-templates/common-arguments.md to reflect these changes Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Marco Bonelli <marco@mebeim.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
20 lines
627 B
Markdown
20 lines
627 B
Markdown
# git commit
|
|
|
|
> Salva file nell'area di stage in una nuova istantanea del tuo repository.
|
|
> Maggiori informazioni: <https://git-scm.com/docs/git-commit>.
|
|
|
|
- Committa sul repository i file nell'area di stage con un messaggio:
|
|
|
|
`git commit -m "{{messaggio}}"`
|
|
|
|
- Aggiungi all'area di stage tutti i file modificati e committali con un messaggio:
|
|
|
|
`git commit -a -m "{{messaggio}}"`
|
|
|
|
- Sostituisci l'ultimo commit con le modifiche attualmente salvate nell'area di stage:
|
|
|
|
`git commit --amend`
|
|
|
|
- Committa solo i file specificati (tra quelli presenti nell'area di stage):
|
|
|
|
`git commit {{percorso/del/file1}} {{percorso/del/file2}}`
|