项目: githooks插件
使用 githooks --use-core-hookspath
模式的时候 依旧运行本地的hooks。
git hooks shared add --global git@github.com:XiaoXice/githooks-local.git
#or
git hooks shared add --global https://github.com/XiaoXice/githooks-local.git
使用 https://github.com/rycus86/githooks --use-core-hookspath 模式 依旧运行本仓库的 hooks
Shell
项目: githooks插件
使用 githooks --use-core-hookspath
模式的时候 依旧运行本地的hooks。
git hooks shared add --global git@github.com:XiaoXice/githooks-local.git
#or
git hooks shared add --global https://github.com/XiaoXice/githooks-local.git