2020-10-04 21:57:58 +11:00
|
|
|
#!/bin/sh
|
2020-10-04 22:05:39 +11:00
|
|
|
|
2022-01-26 16:46:54 +11:00
|
|
|
set -e
|
|
|
|
|
2020-10-06 08:01:25 +11:00
|
|
|
cd $1
|
|
|
|
|
2020-10-04 21:57:58 +11:00
|
|
|
git init
|
2020-10-04 22:05:39 +11:00
|
|
|
|
|
|
|
git config user.email "CI@example.com"
|
|
|
|
git config user.name "CI"
|
|
|
|
|
2020-10-04 21:57:58 +11:00
|
|
|
echo test1 > myfile1
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile1"
|
|
|
|
echo test2 > myfile2
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile2"
|
|
|
|
echo test3 > myfile3
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile3"
|
|
|
|
echo test4 > myfile4
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile4"
|
|
|
|
echo test5 > myfile5
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile5"
|