• 首页
  • 栏目
  • CRM
  • could not read Username for ‘https://gitee.com‘: No such file or directory

could not read Username for ‘https://gitee.com‘: No such file or directory

  • 2021-12-06
  • Admin

1.找到项目所在的文件夹

2.打开隐藏目录

3.打开.git

4.修改config文件

原因使用https方式的时候 在git remote add origin 的https url 里面没有用户名和密码

修改为如下:

https://{username}:{password}@github.com/{username}/project.git

原文:https://blog.csdn.net/weixin_51364443/article/details/121743225

联系站长

QQ:769220720