chore(docs): Fixed pre-commit command for clang-format
This commit is contained in:
parent
61960c51a3
commit
1fb0db4aeb
|
@ -256,7 +256,7 @@ to some whitespace difference.
|
|||
commit a change. In the angular repo, run
|
||||
|
||||
```
|
||||
$ echo -e '#!/bin/sh\nexec git clang-format' > .git/hooks/pre-commit
|
||||
$ echo -e '#!/bin/sh\nexec git clang-format --style file' > .git/hooks/pre-commit
|
||||
$ chmod u+x !$
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue