mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Switch git hooks to use pre-commit
This commit is contained in:
@@ -105,8 +105,7 @@ directory. This will keep you from accidentally committing non-gofmt'd go code.
|
||||
|
||||
```
|
||||
cd kubernetes/.git/hooks/
|
||||
ln -s ../../hooks/prepare-commit-msg .
|
||||
ln -s ../../hooks/commit-msg .
|
||||
ln -s ../../hooks/pre-commit .
|
||||
```
|
||||
|
||||
## Unit tests
|
||||
|
Reference in New Issue
Block a user