Getting Vs code to connect to remote repo

时间:2015-10-29 15:58:49

标签: git bash visual-studio-code azure-devops

This may seem like a repeat question but i have tried EVERYTHING and nothing seems to be working, im using VS Team Services with VS Code. I have successfuly copied the repo to my desktop and am trying to "PUSH" it to the online repo from vs code. However whener i click push it askes for me to authenticate my username and password. Ive typed in so many different variations and nothing works. I do have alternate authentication credentials check, I have tried to use these to log in, it didn't work.

I tried the $ git config --global credential.helper wincred when i type this in using Git Bash it doesnt do anything. enter image description here

Please i could really use some help here.

2 个答案:

答案 0 :(得分:0)

要连接到远程仓库,您可以连接到Git项目,然后在团队资源管理器 - 设置 - Git - 存储库设置中,添加远程。之后,您可以将提交推送到远程仓库。

答案 1 :(得分:0)

我卸载了所有内容并重新安装并且运行正常。