mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-10 11:10:18 +02:00
20 lines
318 B
Bash
Executable File
20 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
set -ex; rm -rf repo; mkdir repo; cd repo
|
|
|
|
git init
|
|
git config user.email "test@example.com"
|
|
git config user.name "Lazygit Tester"
|
|
|
|
|
|
i=2
|
|
end=100
|
|
while [ $i -le $end ]; do
|
|
echo "file${i}" > file${i}
|
|
git add file${i}
|
|
git commit -m file${i}
|
|
|
|
i=$(($i+1))
|
|
done
|
|
|
|
echo "unstaged change" > file100
|