fatal: could not read Username for ‘https://gitee.com’: No such device or address
问题
fatal: could not read Username for 'https://gitee.com': No such device or address
这是因为git config文件中没有用户身份信息。
解决方法
在请求串中加入身份信息即可:
格式
https://[username]:[password]@gitee.com/[username]/project.git
操作如下:
cd .git
vim config
url=https://choudalao:12345@gitee.com/choudalao/test.git
注
choudalao:gitee账号
12345:密码
test:项目名
版权声明:
作者:admin
链接:http://blog.mryxh.cn/1671.html
文章版权归作者所有,未经允许请勿转载。
THE END

0

打赏

分享

二维码

海报