git的hooks在其目录下有常用的sample, applypatch-msg.sample post-receive.sample pre-applypatch.sample pre-push.sample prepare-commit-msg.sample commit-msg.sample post-update.sample pre-commit.sample pre-rebase.sample update.sample 没有post-push, 你想要的是post-receive吧。具体参数你看下githooks文档就可以了man githooks 或 https://github.com/git/git/bl...
git的hooks在其目录下有常用的sample,
没有post-push, 你想要的是post-receive吧。
具体参数你看下githooks文档就可以了
man githooks
或 https://github.com/git/git/bl...