Template:GIT FETCH: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 4: Line 4:
  $ cd {{{WORKDIR}}}
  $ cd {{{WORKDIR}}}
}}
}}
  $ git clone {{#var:CORE_SECDEV_K3_REPO}} -b {{#var:BRANCH}} {{#var:CORE_SECDEV_K3_DIR}}
  $ git clone {{#var:{{{NAME}}}_GIT}} -b {{#var:{{{NAME}}}_BRANCH}} {{#var:{{{NAME}}}_REPO}}
  $ cd {{#var:CORE_SECDEV_K3_DIR}}
{{#if: {{{USE_COMMIT|}}} | 
  $ git checkout {{#var:CORE_SECDEV_K3_COMMIT}}
  $ cd {{#var:{{{NAME}}}_REPO}}
  $ git checkout {{#var:{{{NAME}}}_COMMIT}}
}}
</includeonly>
</includeonly>

Revision as of 21:20, 24 March 2023