mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 13:42:07 +02:00

* 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
981 B
981 B
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}}