1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 08:22:09 +02:00
tldr/pages.it/common/git-remote.md
2024-10-13 10:26:47 +02:00

28 lines
656 B
Markdown

# git remote
> Gestisci i collegamenti remoti ("remote") di un repository locale.
> Maggiori informazioni: <https://git-scm.com/docs/git-remote>.
- Mostra l'elenco dei collegamenti remoti, con il loro nome e URL:
`git remote {{-v|--verbose}}`
- Mostra informazioni su un remote:
`git remote show {{nome_remote}}`
- Aggiungi un remote:
`git remote add {{nome_remote}} {{url_remote}}`
- Modifica l'URL di un remote (usa `--add` per preservare gli URL esistenti):
`git remote set-url {{nome_remoto}} {{nuovo_url}}`
- Elimina un remote:
`git remote remove {{nome_remote}}`
- Rinomina un remote:
`git remote rename {{vecchio_nome}} {{nuovo_nome}}`