Commands to init and update submodules in one line
This commit is contained in:
parent
6e6e9eba80
commit
d623bf9d81
1 changed files with 2 additions and 4 deletions
|
@ -62,9 +62,7 @@ To send your update, could you please create a branch and send us this branch?
|
||||||
### Git sub modules
|
### Git sub modules
|
||||||
|
|
||||||
This repository uses [submodule to git](https://git-scm.com/book/fr/v2/Utilitaires-Git-Sous-modules) :
|
This repository uses [submodule to git](https://git-scm.com/book/fr/v2/Utilitaires-Git-Sous-modules) :
|
||||||
- when updating the repository for the first time after the adition of submodules, you will have to pass these commands to be sure you will get the submodules downloaded and updated. From your repository folder, pass :
|
- when updating the repository after merging, you will have to pass these commands to be sure you will get the submodules downloaded and updated. From your repository folder, pass :
|
||||||
- `git submodule init`
|
- `git submodule init`
|
||||||
- `git submodule update`
|
- `git submodule update`
|
||||||
|
- you can pass the two in one : `git submodule update --init`
|
||||||
If you clone the repository for the first time, you can do everything in one command :
|
|
||||||
- `git clone --recurse-submodules ssh://git@git.khaganat.net:3543/khaganat/mmorpg_khanat/khanat-client.git`
|
|
||||||
|
|
Loading…
Reference in a new issue