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

问题描述:

在上传gitpush的时候出现以下错误代码
在这里插入图片描述


原因分析:

1.studio和远程仓库关联时,用户名密码出现了错误需要重新填写 2.是在你操作git bash here 的时候没有搞完要整的东西直接退出的原因

解决方案:

解决方案1.将项目进行git pull一下然后在提交即可
解决方案2.执行git config --global credential.helper store命令
然后git push origin xiagao // xiagao就是分支的名字
会让你输入用户名和密码,这时你输入就好了,
然后下次再git push 或者/pull 的时候就不用密码了

你可能感兴趣的:(报错问题)