1.找到项目所在的文件夹
2.打开隐藏目录
3.打开.git
4.修改config文件
原因使用https方式的时候 在git remote add origin 的https url 里面没有用户名和密码
修改为如下:
https://{username}:{password}@github.com/{username}/project.git
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