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:
24
pages.it/common/git-subtree.md
Normal file
24
pages.it/common/git-subtree.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# git subtree
|
||||
|
||||
> Strumento per gestire le dipendenze di un progetto come progetti secondari.
|
||||
> Maggiori informazioni: <https://manpages.debian.org/testing/git-man/git-subtree.1.en.html>.
|
||||
|
||||
- Aggiungi un repository git come albero secondario:
|
||||
|
||||
`git subtree add --prefix={{percorso/alla/cartella/}} --squash {{url_repository}} {{master}}`
|
||||
|
||||
- Aggiorna l'albero secondario di un repository al suo commit più recente:
|
||||
|
||||
`git subtree pull --prefix={{percorso/alla/cartella/}} {{url_repository}} {{master}}`
|
||||
|
||||
- Unisci un albero secondario al ramo principale (master):
|
||||
|
||||
`git subtree merge --prefix={{percorso/alla/cartella/}} --squash {{url_repository}} {{master}}`
|
||||
|
||||
- Invia commit all'albero secondario di un repository:
|
||||
|
||||
`git subtree push --prefix={{percorso/alla/cartella/}} {{url_repository}} {{master}}`
|
||||
|
||||
- Estrai la cronologia di un nuovo progetto dalla cronologia di un albero secondario:
|
||||
|
||||
`git subtree split --prefix={{percorso/alla/cartella/}} {{url_repository}} -b {{nome_ramo}}`
|
Reference in New Issue
Block a user