git-commands: add Italian translations (#3318)
Add Italian translation for: - git - git-add - git-am - git-bisect - git-blame - git-branch - git-check-ignore - git-checkout - git-cherry-pick - git-clean
This commit is contained in:

committed by
Marco Bonelli

parent
8e89822467
commit
4ee919925d
28
pages.it/common/git-branch.md
Normal file
28
pages.it/common/git-branch.md
Normal file
@@ -0,0 +1,28 @@
|
||||
# git branch
|
||||
|
||||
> Il principale comando git per lavorare con i rami.
|
||||
> Maggiori informazioni: <https://git-scm.com/docs/git-branch>.
|
||||
|
||||
- Elenca i rami locali. Il ramo corrente è evidenziato da un `*`:
|
||||
|
||||
`git branch`
|
||||
|
||||
- Elenca tutti i rami (locali e remoti):
|
||||
|
||||
`git branch -a`
|
||||
|
||||
- Crea un nuovo ramo a partire dal commit corrente:
|
||||
|
||||
`git branch {{nome_ramo}}`
|
||||
|
||||
- Crea un nuovo ramo a partire dal commit specificato:
|
||||
|
||||
`git branch {{nome_ramo}} {{hash_commit}}`
|
||||
|
||||
- Rinomina un ramo (non applicabile sul ramo corrente):
|
||||
|
||||
`git branch -m {{vecchio_nome}} {{nuovo_nome}}`
|
||||
|
||||
- Cancella un ramo locale (non applicabile sul ramo corrente):
|
||||
|
||||
`git branch -d {{nome_ramo}}`
|
Reference in New Issue
Block a user