我在post-receive上执行单元测试但不希望用户等待它.
我尝试了git-user邮件列表中的建议("只是&它"),但这不起作用:https://groups.google.com/forum/#!topic / git-users/CFshrDgYYzE
&
即使我把它放在hooks/post-receive中,git似乎还在等待bash脚本退出:
exec-unit-tests.sh &
git githooks
git ×1
githooks ×1