Template:GIT FETCH: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
Fetch the core-secdev-k3 Security Dev Tool: | Fetch the core-secdev-k3 Security Dev Tool: | ||
{{#if: {{{WORKDIR|}}} | | |||
$ cd {{{WORKDIR}}} | |||
}} | |||
$ git clone {{#var:CORE_SECDEV_K3_REPO}} -b {{#var:BRANCH}} {{#var:CORE_SECDEV_K3_DIR}} | $ git clone {{#var:CORE_SECDEV_K3_REPO}} -b {{#var:BRANCH}} {{#var:CORE_SECDEV_K3_DIR}} | ||
$ cd {{#var:CORE_SECDEV_K3_DIR}} | $ cd {{#var:CORE_SECDEV_K3_DIR}} | ||
$ git checkout {{#var:CORE_SECDEV_K3_COMMIT}} | $ git checkout {{#var:CORE_SECDEV_K3_COMMIT}} | ||
</includeonly> | </includeonly> |