git*: add Italian translation (#4737)
* git-send-email: add it translation * git-shortlog: add it translation * git-show-branch: add it translation * git-show-ref: add it translation * git-show: add it translation * git-svn: add it translation * git-sizer: add it translation * git-stage: add it translation * git-status: add it translation * git-stash: add it translation * git-submodule: add it translation * git-subtree: add it translation * git-switch: add it translation * git-tag: add it translation * git-update-ref: add it translation * git-worktree: add it translation * Use snake case for tokens
This commit is contained in:
29
pages.it/common/git-switch.md
Normal file
29
pages.it/common/git-switch.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# git switch
|
||||
|
||||
> Passa ad altri rami. Richiede versioni di git successive alla 2.23.
|
||||
> Vedi anche `git checkout`.
|
||||
> Maggiori informazioni: <https://git-scm.com/docs/git-switch/>.
|
||||
|
||||
- Passa ad un altro ramo esistente:
|
||||
|
||||
`git switch {{nome_ramo}}`
|
||||
|
||||
- Crea un nuovo ramo e passa a quel ramo:
|
||||
|
||||
`git switch --create {{nome_ramo}}`
|
||||
|
||||
- Crea un nuovo ramo a partire da un commit esistente e passa a quel ramo:
|
||||
|
||||
`git switch --create {{nome_ramo}} {{commit}}`
|
||||
|
||||
- Torna al ramo precedente:
|
||||
|
||||
`git switch -`
|
||||
|
||||
- Passa ad un ramo ed aggiorna tutti i moduli secondari associati:
|
||||
|
||||
`git switch --recurse-submodules {{nome_ramo}}`
|
||||
|
||||
- Passa ad un ramo e uniscilo automaticamente al ramo corrente, include le modifiche non committate:
|
||||
|
||||
`git switch --merge {{nome_ramo}}`
|
Reference in New Issue
Block a user