Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H How-To
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • docs
  • How-To
  • Wiki
  • clone ibank

clone ibank · Changes

Page history
update authored Mar 10, 2015 by Administrator's avatar Administrator
Hide whitespace changes
Inline Side-by-side
Showing with 12 additions and 4 deletions
+12 -4
  • clone-ibank.markdown clone-ibank.markdown +12 -4
  • No files found.
clone-ibank.markdown
View page @ 6c738c3d
......@@ -3,15 +3,23 @@
Чтобы выкачать разом все модули интернет-банка:
1. Выкачиваем суперрепозиторий:
`git clone -b master git@source.isimplelab.com:ibank/ibank_root.git`
```
git clone -b master git@source.isimplelab.com:ibank/ibank_root.git
```
2. Переходим в созданный каталог:
`cd ibank_root`
```
cd ibank_root
```
3. Инициализируем подмодули (--init) и получаем последние обновления (--remote):
`git submodule update --init --remote`
```
git submodule update --init --remote
```
4. Переключаем подмодули из состояния анонимной ветки (detached HEAD) на ветку master:
`git submodule foreach git checkout master`
```
git submodule foreach git checkout master
```
*Для выкачивания ветки повторяем описанные выше действия, заменив "master" на имя выкачиваемой ветки.*
Clone repository
  • Work in branches
  • clone ibank
  • create new module
  • create ssh key
  • git essentials
  • initial config
  • remove module
  • submodule basic