Git push失败,remote: Gogs: Internal error,remote: error: hook declined to update

报错如图:

Git push失败,remote: Gogs: Internal error,remote: error: hook declined to update_第1张图片

解决:

尝试清理ide缓存、重启ide,—未解决
检查git ssh、邮箱、密码等配置,没问题
仓库是否正常工作,正常

手动断网后重新连接,push成功

你可能感兴趣的:(git,github,ssh)