mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 19:52:42 +00:00
more explicit requirements for pre-commit hook
This commit is contained in:
@@ -116,8 +116,11 @@ git remote set-url --push upstream no_push
|
|||||||
|
|
||||||
### Committing changes to your fork
|
### Committing changes to your fork
|
||||||
|
|
||||||
Before committing any changes, please link/copy these pre-commit hooks into your .git
|
Before committing any changes, please link/copy the pre-commit hook
|
||||||
directory. This will keep you from accidentally committing non-gofmt'd Go code.
|
into your .git directory. This will keep you from accidentally
|
||||||
|
committing non-gofmt'd Go code. In addition this hook will do a build.
|
||||||
|
|
||||||
|
The hook requires both Godep and etcd on your `PATH`.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd kubernetes/.git/hooks/
|
cd kubernetes/.git/hooks/
|
||||||
|
Reference in New Issue
Block a user