git push错误:RPC failed; HTTP 401 curl 22 The requested URL returned error: 401 The remote end hung up

       401表示没有权限。我使用的是Gogs来管理Git项目的,出现这个错误的原因是因为我只有这个项目的read权限,需要提供的是这个项目的write权限就可以push了。

猜你喜欢

转载自blog.csdn.net/qq_28670711/article/details/75305388