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

* git-prune: add it translation * git-reflog: add it translation * git-remote: add it translation * git-repack: add it translation * git-restore: add it translation * git-rev-parse: add it translation * git-rev-list: add it translation * git-rm: add it translation * git-rebase: add it translation * git-revert: add it translation * git-reset: add it translation * git-replace: add it translation * git-reset: separate file tokens * Use correct suffix for multiple tokens Co-authored-by: Axel Navarro <navarroaxel@gmail.com> * Integrate updates in #4533 Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
523 B
523 B
git restore
Ripristina i file dell'albero di lavoro. Richiede versioni di git successive alla 2.23. Vedi anche
git checkout
. Maggiori informazioni: https://git-scm.com/docs/git-restore/.
- Ripristina un file cancellato dal contenuto del commit corrente (HEAD):
git restore {{percorso/al/file}}
- Ripristina un file alla versione di un commit differente:
git restore --source {{commit}} {{percorso/al/file}}
- Annulla le modifiche ai file nell'area di stage, ripristinandoli all'HEAD:
git restore .