在Centos6.4嘗試搭建beego架構,使用git指令clone時報錯

# cd .; git clone https://github.com/astaxie/beego /www/project/src/github.com/astaxie/beego
Initialized empty Git repository in /www/project/src/github.com/astaxie/beego/.git/
error: while accessing https://github.com/astaxie/beego/info/refs
fatal: HTTP request failed
package github.com/astaxie/beego: exit status 128
解決辦法有三種
第一,更新git
第二,在github下載下傳源碼包放到對應目錄
第三,指令修複
git config --global url."git://github.com/astaxie/beego".insteadOf "https://github.com/astaxie/beego" //指令修複
執行完成之後,繼續執行指令clone :go get github.com/astaxie/beego