Template:GIT FETCH: Difference between revisions

From Variscite Wiki
(Created page with " $ git clone {{#var:CORE_SECDEV_K3_REPO}} -b {{#var:BRANCH}} {{#var:CORE_SECDEV_K3_DIR}} $ cd {{#var:CORE_SECDEV_K3_DIR}} $ git checkout {{#var:CORE_SECDEV_K3_COMMIT}} $ cd...")
 
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
$ git clone {{#var:CORE_SECDEV_K3_REPO}} -b {{#var:BRANCH}} {{#var:CORE_SECDEV_K3_DIR}}
<includeonly>{{#tag:pre|{{#if: {{{WORKDIR|}}} |
$ cd {{#var:CORE_SECDEV_K3_DIR}}
$ cd {{{WORKDIR}}}
$ git checkout {{#var:CORE_SECDEV_K3_COMMIT}}
}}
$ cd ../
$ git clone {{#var:{{{NAME}}}_GIT}} -b {{#var:{{{NAME}}}_BRANCH}} {{#var:{{{NAME}}}_REPO}}
{{#if: {{{USE_COMMIT|}}} |
$ cd {{#var:{{{NAME}}}_REPO}} && \
  git checkout {{#var:{{{NAME}}}_COMMIT}} && \
  cd ../
}}{{#if: {{{USE_BRANCH|}}} |
$ cd {{#var:{{{NAME}}}_REPO}} && \
  git checkout {{#var:{{{NAME}}}_BRANCH}} && \
  cd ../
}}}}</includeonly>

Latest revision as of 21:08, 8 April 2024