1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-10 11:10:18 +02:00
lazygit/test/integration/rebaseRewordLastCommit/setup.sh

26 lines
284 B
Bash
Raw Normal View History

2021-04-06 04:33:29 +02:00
#!/bin/sh
2022-01-26 07:46:54 +02:00
set -e
2021-04-06 04:33:29 +02:00
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
2021-04-06 10:00:47 +02:00
echo test3 > file3
git add .