标签: git gogs
从Gogs Web服务器克隆项目,然后将文件添加到Git存储库,并将此提交推送到远程,但是终端报告关于cannot spawn hooks/pre-receive:No such file or directory的错误。
cannot spawn hooks/pre-receive:No such file or directory
我检查了一下并确保pre-receive中存在server-side git-repository文件,并且克隆的文件名为pre-receive.sample。
pre-receive
server-side git-repository
pre-receive.sample
因此,我不知道为什么会发生这种情况以及如何解决。请帮忙。
服务器端图像:
enter image description here
客户端图片:
系统环境: enter image description here