Visual Studio Code always asking for git credentials

后端 未结 22 742
悲&欢浪女
悲&欢浪女 2020-11-29 14:50

I started using Visual Studio Code, and I was trying to save my test project into GitHub, but Visual Studio Code is always asking for my GitHub credentials.

I have i

22条回答
  •  误落风尘
    2020-11-29 15:17

    Automatic Git authentication. From the v1.45 Release Notes:

    GitHub authentication for GitHub Repositories

    VS Code now has automatic GitHub authentication against GitHub repositories. You can now clone, pull, push to and from public and private repositories without configuring any credential manager in your system. Even Git commands invoked in the Integrated Terminal, for example git push, are now automatically authenticated against your GitHub account.

    You can disable GitHub authentication with the git.githubAuthentication setting. You can also disable the terminal authentication integration with the git.terminalAuthentication setting.

提交回复
热议问题