mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:22: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>
16 lines
457 B
Markdown
16 lines
457 B
Markdown
# git replace
|
|
|
|
> Crea, elenca, ed elimina riferimenti ad oggetti sostituiti.
|
|
> Maggiori informazioni: <https://git-scm.com/docs/git-replace>.
|
|
|
|
- Sostituisci un commit con un altro, senza modificare gli altri commit:
|
|
|
|
`git replace {{oggetto}} {{oggetto_sostitutivo}}`
|
|
|
|
- Cancella riferimenti esistenti ad un oggetto sostituito:
|
|
|
|
`git replace --delete {{oggetto}}`
|
|
|
|
- Modifica il contenuto di un oggetto in modo interattivo:
|
|
|
|
`git replace --edit {{oggetto}}`
|