mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 17:02:09 +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
20 lines
588 B
Markdown
20 lines
588 B
Markdown
# git submodule
|
|
|
|
> Ispeziona, aggiorna e gestisce moduli secondari (submodule).
|
|
> Maggiori informazioni: <https://git-scm.com/docs/git-submodule>.
|
|
|
|
- Installa specifici moduli secondari di un repository:
|
|
|
|
`git submodule update --init --recursive`
|
|
|
|
- Aggiungi un repository git come modulo secondario:
|
|
|
|
`git submodule add {{url_repository}}`
|
|
|
|
- Aggiungi un repository git come modulo secondario alla cartella specificata:
|
|
|
|
`git submodule add {{url_repository}} {{percorso/alla/cartella}}`
|
|
|
|
- Aggiorna tutti i moduli secondari al loro commit più recente:
|
|
|
|
`git submodule foreach git pull`
|