1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/test/integration/stashNewBranch/setup.sh
Jesse Duffield d80d1f8493 more tests
2021-04-06 19:34:32 +10:00

25 lines
328 B
Bash

#!/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