2021-04-07 22:43:19 +10:00
|
|
|
#!/bin/sh
|
|
|
|
|
2022-01-26 16:46:54 +11:00
|
|
|
set -e
|
|
|
|
|
2021-04-07 22:43:19 +10:00
|
|
|
cd $1
|
|
|
|
|
|
|
|
git init
|
|
|
|
|
|
|
|
git config user.email "CI@example.com"
|
|
|
|
git config user.name "CI"
|
|
|
|
|
|
|
|
echo test1 > myfile1
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile1"
|
|
|
|
|
|
|
|
echo test1 > myfile2
|