Remove -f
to not ruin other people's existing pre-commit files.
This commit is contained in:
parent
b3b7d12496
commit
060bceeacb
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
touch ./.git/hooks/pre-commit
|
||||
ln -s -f ./pre-commit .git/hooks/pre-commit
|
||||
ln -s ./pre-commit .git/hooks/pre-commit
|
||||
|
|
Loading…
Reference in a new issue