mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-11-24 08:52:21 +02:00
10 lines
167 B
Bash
10 lines
167 B
Bash
|
#!/bin/bash
|
||
|
set -ex; rm -rf repo; mkdir repo; cd repo
|
||
|
|
||
|
git init
|
||
|
cp ../pre-commit .git/hooks/pre-commit
|
||
|
chmod +x .git/hooks/pre-commit
|
||
|
|
||
|
echo "file" > file
|
||
|
git add file
|