Visual Studio Code always asking for git credentials

后端 未结 22 754
悲&欢浪女
悲&欢浪女 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:11

    You should be able to set your credentials like this:

    git remote set-url origin https://:@bitbucket.org/path/to/repo.git
    

    You can get the remote url like this:

    git config --get remote.origin.url
    

提交回复
热议问题