首页 > 技术文章 > git clone操作到开发机的错误记录

niceforbear 2015-08-10 13:38 原文

在开发机上,执行操作

$ git clone https://github.com/xxx/rank.git

 

返回错误:

error: The requested URL returned error: 403 Forbidden while accessing https://github.com/xxx/rank.git/info/refs
fatal: HTTP request failed

 

未查明原理,重新尝试操作:

$ git clone git@github.com:xxx/rank.git

clone成功

推荐阅读