【gogs迁移后错误提示】
remote: hooks/pre-receive: line 2: /data/gogs/gogs: No such file or directory To http://192.168.1.129:53000/yin.xia/sgs-vue.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'http://192.168.1.129:53000/yin.xia/sgs-vue.git'
应该是旧钩子导致的。解决方案:
进入Gitea管理员后台,在管理面板内执行同步所有仓库的钩子:
即可解决
标签:pre,git,remote,No,receive,gogs,报错 From: https://www.cnblogs.com/opensmarty/p/17242947.html