项目中推送代码到git时报错
Push failed
Failed with error: The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
原因:管理员将项目中的分支保护中当前分支修改为了只读分支。改为常规分支就解决了问题。
项目中推送代码到git时报错
Push failed
Failed with error: The remote end hung up unexpectedly
The remote end hung up unexpectedly
RPC failed; HTTP 401 curl 22 The requested URL returned error: 401
原因:管理员将项目中的分支保护中当前分支修改为了只读分支。改为常规分支就解决了问题。