1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-08 04:04:22 +02:00
lazygit/test/integration/resetAuthor/setup.sh
2022-05-08 13:29:57 +10:00

21 lines
300 B
Bash

#!/bin/sh
set -e
cd $1
git init
git config user.email "Author1@example.com"
git config user.name "Author1"
echo test1 > myfile1
git add .
git commit -am "myfile1"
echo test2 > myfile2
git add .
git commit -am "myfile2"
git config user.email "Author2@example.com"
git config user.name "Author2"