2020-10-04 12:34:32 +02:00
|
|
|
#!/bin/sh
|
2020-10-04 13:05:39 +02:00
|
|
|
|
2020-10-05 23:01:25 +02:00
|
|
|
cd $1
|
|
|
|
|
2020-10-04 12:34:32 +02:00
|
|
|
git init
|
2020-10-04 13:05:39 +02:00
|
|
|
|
|
|
|
git config user.email "CI@example.com"
|
|
|
|
git config user.name "CI"
|
|
|
|
|
2020-10-04 12:34:32 +02:00
|
|
|
echo test1 > myfile1
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile1"
|
|
|
|
echo firstline > myfile2
|
|
|
|
echo secondline >> myfile2
|
|
|
|
echo thirdline >> myfile2
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile2"
|
|
|
|
echo firstline2 > myfile2
|
|
|
|
echo secondline >> myfile2
|
|
|
|
echo thirdline2 >> myfile2
|
|
|
|
git commit -am "myfile2 update"
|
|
|
|
echo test3 > myfile3
|
|
|
|
git add .
|
|
|
|
git commit -am "myfile3"
|