小编obe*_*msi的帖子

异步git hook?

我在post-receive上执行单元测试但不希望用户等待它.

我尝试了git-user邮件列表中的建议("只是&它"),但这不起作用:https://groups.google.com/forum/#!topic / git-users/CFshrDgYYzE

即使我把它放在hooks/post-receive中,git似乎还在等待bash脚本退出:

exec-unit-tests.sh &
Run Code Online (Sandbox Code Playgroud)

git githooks

11
推荐指数
1
解决办法
1823
查看次数

标签 统计

git ×1

githooks ×1