mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 17: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>
16 lines
379 B
Markdown
16 lines
379 B
Markdown
# git rm
|
|
|
|
> Cancella file dall'indice del repository e dal filesystem locale.
|
|
> Maggiori informazioni: <https://git-scm.com/docs/git-rm>.
|
|
|
|
- Cancella un file dall'indice del repository e dal filesystem:
|
|
|
|
`git rm {{file}}`
|
|
|
|
- Cancella una cartella:
|
|
|
|
`git rm -r {{cartella}}`
|
|
|
|
- Cancella un file dall'indice del repository ma non dal filesystem locale:
|
|
|
|
`git rm --cached {{file}}`
|