mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #24958 from MHBauer/pre-commit-hook-reqs
Automatic merge from submit-queue more explicit requirements for pre-commit hook I don't know if using the pre-commit hook is still a best-practice, but godep and etcd are requirements for it to succeed.
This commit is contained in:
commit
ad86986c87
@ -116,8 +116,11 @@ git remote set-url --push upstream no_push
|
||||
|
||||
### Committing changes to your fork
|
||||
|
||||
Before committing any changes, please link/copy these pre-commit hooks into your .git
|
||||
directory. This will keep you from accidentally committing non-gofmt'd Go code.
|
||||
Before committing any changes, please link/copy the pre-commit hook
|
||||
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
|
||||
cd kubernetes/.git/hooks/
|
||||
|
Loading…
Reference in New Issue
Block a user