mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #185 from thockin/master
Minor doc clarification regarding hooks symlinks.
This commit is contained in:
commit
0a3996a5a6
@ -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
Block a user