dev:notes:git
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | dev:notes:git [2015/01/29 18:28] – [Clone repository with submodules on a remote branch] redox | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # Git | ||
+ | ## Clone repository with submodules on a remote branch | ||
+ | |||
+ | git clone git@theserver:/ | ||
+ | git fetch origin | ||
+ | git checkout thebranch | ||
+ | git submodule update --init --remote | ||
+ | |||
+ | ## Clone repository with submodules | ||
+ | |||
+ | git clone --recursive git@theserver:/ | ||
+ | | ||
+ | ## Update submodules | ||
+ | |||
+ | git submodule update --remote |
/home/share/www/redox.ws/wiki/data/pages/dev/notes/git.txt · Last modified: 2023/11/24 21:55 by 127.0.0.1