Template:GIT FETCH: Difference between revisions
From Variscite Wiki
m (Nate moved page Template:CORE SECDEV K3 FETCH to Template:GIT FETCH without leaving a redirect) |
No edit summary |
||
Line 4: | Line 4: | ||
$ git clone {{#var:{{{NAME}}}_GIT}} -b {{#var:{{{NAME}}}_BRANCH}} {{#var:{{{NAME}}}_REPO}} | $ git clone {{#var:{{{NAME}}}_GIT}} -b {{#var:{{{NAME}}}_BRANCH}} {{#var:{{{NAME}}}_REPO}} | ||
{{#if: {{{USE_COMMIT|}}} | | {{#if: {{{USE_COMMIT|}}} | | ||
$ cd {{#var:{{{NAME}}}_REPO}} | $ cd {{#var:{{{NAME}}}_REPO}} && git checkout {{#var:{{{NAME}}}_COMMIT}} && cd ../ | ||
}}}}</includeonly> | }}}}</includeonly> |