summaryrefslogtreecommitdiffstats
path: root/test/integration/staging/setup.sh
blob: 5ede99e275e9b83394009d3c060f629cf1706b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

cd $1

git init

git config user.email "CI@example.com"
git config user.name "CI"

cp ../files/one.txt one.txt
cp ../files/two.txt two.txt
cp ../files/three.txt three.txt
git add .
git commit -am file1

cp ../files/one_new.txt one.txt
cp ../files/two_new.txt two.txt
cp ../files/three_new.txt three.txt