diff options
Diffstat (limited to 'test/integration/discardStagedFiles/setup.sh')
-rw-r--r-- | test/integration/discardStagedFiles/setup.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/integration/discardStagedFiles/setup.sh b/test/integration/discardStagedFiles/setup.sh new file mode 100644 index 000000000..caff56b7d --- /dev/null +++ b/test/integration/discardStagedFiles/setup.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +set -e + +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 |