Changes
Page history
update
authored
Mar 14, 2015
by
Administrator
Hide whitespace changes
Inline
Side-by-side
clone-ibank.markdown
View page @
afbf715a
...
...
@@ -4,28 +4,28 @@
1.
Выкачиваем суперрепозиторий:
```
bat
>
git
clone
git
@source.isimplelab.com:build/ibank_root.git
git
clone
git
@source.isimplelab.com:build/ibank_root.git
```
2.
Переходим в созданный каталог:
```
bat
>
cd
ibank_root
cd
ibank_root
```
3.
Инициализируем подмодули (--init) и получаем последние обновления (--remote):
```
bat
>
git
submodule
update
--init --remote
git
submodule
update
--init --remote
```
4.
Переключаем подмодули из состояния анонимной ветки (detached HEAD) на ветку master:
```
bat
>
git
submodule
foreach
git
checkout
master
git
submodule
foreach
git
checkout
master
```
Для выкачивания ветки:
```
bat
>
git
clone
git
@source.isimplelab.com:build/ibank_root_12.git
>
cd
ibank_root_12
>
git
submodule
update
--init --remote
>
git
submodule
foreach
git
checkout
ibankfl
-branch
-
2
-
0
-
12
-
393
git
clone
git
@source.isimplelab.com:build/ibank_root_12.git
cd
ibank_root_12
git
submodule
update
--init --remote
git
submodule
foreach
git
checkout
ibankfl
-branch
-
2
-
0
-
12
-
393
```