首先检查代码中是否有可执行命令 #!/bin/sh然后 检查post-commit权限post-commit 脚本文件的权限不对,post-commit 脚本必须有 +x 权限。post-co 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交