mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-24 08:52:21 +02:00
13 lines
254 B
Bash
Executable File
13 lines
254 B
Bash
Executable File
#!/bin/bash
|
|
set -ex; rm -rf repo; mkdir repo; cd repo
|
|
|
|
git init
|
|
git config user.email "test@example.com"
|
|
git config user.name "Lazygit Tester"
|
|
|
|
cp ../extras/pre-commit .git/hooks/pre-commit
|
|
chmod +x .git/hooks/pre-commit
|
|
|
|
echo "file" > file
|
|
git add file
|