git*: add Italian translation (#4734)
* 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>
This commit is contained in:
17
pages.it/common/git-restore.md
Normal file
17
pages.it/common/git-restore.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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 .`
|
Reference in New Issue
Block a user