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

22 lines
323 B
Bash
Raw Normal View History

2021-04-06 14:53:08 +10:00
#!/bin/sh
2022-01-26 16:46:54 +11:00
set -e
2021-04-06 14:53:08 +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
git checkout -b new-branch
git checkout -b new-branch-2
git checkout -b new-branch-3
git checkout -b old-branch
git checkout -b old-branch-2
git checkout -b old-branch-3