mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
9 lines
167 B
Bash
Executable file
9 lines
167 B
Bash
Executable file
#!/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
|