|
|
%!s(int64=2) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| pre-commit | %!s(int64=2) %!d(string=hai) anos | |
| readme.md | %!s(int64=2) %!d(string=hai) anos | |
Please use cmd git config --local core.hooksPath .hooks for git hooks local.
git config --unset --local core.hooksPath .hooks 可以取消hook格式化文件c|cpp|h 文件,并没有针对文件夹修改等。所以如果有SDK等不希望formatting的文件,请先将hooks功能去掉,commit之后,再考虑使用hooks命令。