diff options
Diffstat (limited to 'worker/scripts/fetch_code')
-rw-r--r-- | worker/scripts/fetch_code | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/worker/scripts/fetch_code b/worker/scripts/fetch_code new file mode 100644 index 0000000..d45f6db --- /dev/null +++ b/worker/scripts/fetch_code @@ -0,0 +1,6 @@ +#!/bin/bash + +git clone "$remote" "$path" +cd "$path" +git reset --hard "$checkout" +cd - |