Git 报错:error: The requested URL returned error: 401 Unauthorized while accessing

git Version: 1.7.1

报错:error: The requested URL returned error: 401 Unauthorized while accessing 

Method One: Upgrade git version> = 1.7.1 (which was solved my problem)

Method Two: Remote git the SET-url Origin  HTTPS: //[email protected]/org/project.git   (this is the way to solve on Stack Overflow)

Method three: the removal of verification git config -global http.sslverify false (I have not tried)

Published 230 original articles · won praise 248 · views 260 000 +

Guess you like

Origin blog.csdn.net/youngyangyang04/article/details/105049314