1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-04 10:34:55 +02:00
lazygit/test/integration/bisectFromOtherBranch/setup.sh

28 lines
323 B
Bash

#!/bin/sh
set -e
cd $1
git init
git config user.email "CI@example.com"
git config user.name "CI"
touch myfile
git add myfile
git commit -m "first commit"
git checkout -b other
for i in {1..20}
do
echo "$i" > file
git add .
git commit -m "commit $i"
done
git checkout master
git bisect start other~2 other~13