1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

35 lines
435 B
Bash
Raw Normal View History

2021-04-06 12:33:29 +10:00
#!/bin/sh
2022-01-26 16:46:54 +11:00
set -e
2021-04-06 12:33:29 +10: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
echo test3 > file4
git add .
git commit -am file4-added
echo test4 > file4
git add .
git commit -am file4-changed
echo test5 > file4
git add .
git commit -am file4-changed-again