1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-24 05:36:19 +02:00

24 lines
387 B
Bash
Raw Normal View History

2021-04-02 10:59:41 +11:00
#!/bin/sh
2022-01-26 16:46:54 +11:00
set -e
2021-04-02 10:59:41 +11:00
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
git commit --allow-empty -m "first commit"
mkdir -p one/two/three
echo test1 > one/two/three/file1
echo test2 > one/two/three/file2
echo test3 > one/two/three/file3
echo test4 > one/two/three/file4
echo test5 > one/two/file1
echo test6 > one/two/file2
git add .
git commit -m "blah"