summaryrefslogtreecommitdiffstats
path: root/test/integration/stashPop/setup.sh
blob: 7b6eea95c2b1b4b3aa13fa5bd49171cfcb33cd86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

cd $1

git init

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

echo test0 > file0
git add .
git commit -am file0

echo test1 > file1
git add .
git commit -am file1

echo test2 > file2
git add .
git commit -am file2

echo "hello there" > file1
echo "hello there" > file2
echo "hello there" > file3