Can Git hook scripts be managed along with the repository?

前端 未结 11 1227
独厮守ぢ
独厮守ぢ 2020-11-22 14:00

We\'d like to make a few basic hook scripts that we can all share -- for things like pre-formatting commit messages. Git has hook scripts for that that are normally stored

11条回答
  •  广开言路
    2020-11-22 14:38

    How about git-hooks, it route .git/hooks invoke into script under project directory githooks.

    There are also lot of features to enable you minimize copy and symlink hook all over the place.

提交回复
热议问题