1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/test/repos/lots_of_commits.sh
2018-08-12 15:54:59 +10:00

17 lines
238 B
Bash
Executable File

#!/bin/bash
set -ex; rm -rf repo; mkdir repo; cd repo
git init
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