我开始使用Visual Studio Code,我试图将我的测试项目保存到GitHub,但Visual Studio Code总是要求我的GitHub凭据.
我已经安装在我的PC GitHub Desktop和Git中,我已经运行:
git config --global credential.helper wincred
Run Code Online (Sandbox Code Playgroud)
但仍然Visual Studio Code要求提供凭据.
有帮助吗?
这是我的.gitconfig文件,位于用户配置文件中:
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[user]
name = ddieppa
[user]
email = fake@live.com
[credential]
helper = wincred
Run Code Online (Sandbox Code Playgroud)
以下是要求凭据的弹出窗口:
我在弹出窗口中输入了我的GitHub凭据,但仍然在Visual Studio代码的Git输出窗口中出现此错误:
remote: Anonymous access to ddieppa/LineOfBizApp.git denied.
fatal: Authentication failed for 'https://github.com/ddieppa/LineOfBizApp.git/'
Run Code Online (Sandbox Code Playgroud)