Template:GIT FETCH: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if: {{{WORKDIR|}}} | | ||
{{#if: {{{WORKDIR|}}} | | |||
$ cd {{{WORKDIR}}} | $ cd {{{WORKDIR}}} | ||
}} | }} | ||
Line 7: | Line 6: | ||
$ cd {{#var:{{{NAME}}}_REPO}} | $ cd {{#var:{{{NAME}}}_REPO}} | ||
$ git checkout {{#var:{{{NAME}}}_COMMIT}} | $ git checkout {{#var:{{{NAME}}}_COMMIT}} | ||
}} | }}</includeonly> | ||
</includeonly> |