我最近重新安装了Windows并获得了最新版本的git.我在Bitbucket上创建了一个新的回购并运行
git remote add origin https://MYUSERNAME@bitbucket.org/MYUSERNAME/test.git
Run Code Online (Sandbox Code Playgroud)
然后我跑了
git push -u origin --all
Run Code Online (Sandbox Code Playgroud)
但这给了我错误
fatal: could not read Password for 'https://MYUSERNAME@bitbucket.org': No such
file or directory
Run Code Online (Sandbox Code Playgroud)
在我得到一个提示问我的用户名和密码之前,推送工作正常.我已经尝试恢复到Git 1.7.11,但这没有做任何事情.