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 14, 2015 by Administrator's avatar Administrator
Show whitespace changes
Inline Side-by-side
Showing with 8 additions and 8 deletions
+8 -8
  • clone-ibank.markdown clone-ibank.markdown +8 -8
  • No files found.
clone-ibank.markdown
View page @ bad5dcda
...@@ -4,28 +4,28 @@ ...@@ -4,28 +4,28 @@
1. Выкачиваем суперрепозиторий: 1. Выкачиваем суперрепозиторий:
``` ```
git clone git@source.isimplelab.com:build/ibank_root.git >git clone git@source.isimplelab.com:build/ibank_root.git
``` ```
2. Переходим в созданный каталог: 2. Переходим в созданный каталог:
``` ```
cd ibank_root >cd ibank_root
``` ```
3. Инициализируем подмодули (--init) и получаем последние обновления (--remote): 3. Инициализируем подмодули (--init) и получаем последние обновления (--remote):
``` ```
git submodule update --init --remote >git submodule update --init --remote
``` ```
4. Переключаем подмодули из состояния анонимной ветки (detached HEAD) на ветку master: 4. Переключаем подмодули из состояния анонимной ветки (detached HEAD) на ветку master:
``` ```
git submodule foreach git checkout master >git submodule foreach git checkout master
``` ```
Для выкачивания ветки: Для выкачивания ветки:
``` ```
git clone git@source.isimplelab.com:build/ibank_root_12.git >git clone git@source.isimplelab.com:build/ibank_root_12.git
cd ibank_root_12 >cd ibank_root_12
git submodule update --init --remote >git submodule update --init --remote
git submodule foreach git checkout ibankfl-branch-2-0-12-393 >git submodule foreach git checkout ibankfl-branch-2-0-12-393
``` ```
Clone repository
  • Work in branches
  • clone ibank
  • create new module
  • create ssh key
  • git essentials
  • initial config
  • remove module
  • submodule basic