mirror of https://github.com/k3s-io/k3s
Minor doc clarification regarding hooks symlinks.
parent
ba7fe835ce
commit
853fd6e525
|
@ -134,9 +134,12 @@ If you are a company and are looking for a more formal engagement with Google ar
|
|||
# Before committing any changes, please link/copy these hooks into your .git
|
||||
# directory. This will keep you from accidentally committing non-gofmt'd
|
||||
# go code.
|
||||
#
|
||||
# NOTE: The "../.." part seems odd but is correct, since the newly created
|
||||
# links will be 2 levels down the tree.
|
||||
cd kubernetes
|
||||
ln -s "../../hooks/prepare-commit-msg" .git/hooks/prepare-commit-msg
|
||||
ln -s "../../hooks/commit-msg" .git/hooks/commit-msg
|
||||
ln -s ../../hooks/prepare-commit-msg .git/hooks/prepare-commit-msg
|
||||
ln -s ../../hooks/commit-msg .git/hooks/commit-msg
|
||||
```
|
||||
|
||||
### Unit tests
|
||||
|
|
Loading…
Reference in New Issue