我想安装gqrcode 项目并从该项目中获取以下安装说明:
go get -u github.com/KangSpace/gqrcode
执行此操作时,我首先得到:
...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
...
执行后
git config --global --add url."git@github.com:".insteadOf "https://github.com/"
我得到:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
package github.com/KangSpace/gqrcode: exit status 1
在 python 等其他语言中,我可以先克隆库 ( git clone ....),然后再安装它。
我怎样才能在 go 中执行类似的操作?
忽然笑
相关分类