Visual Studio 2017-将项目同步到Github存储库时出现问题

时间:2018-09-19 14:44:36

标签: visual-studio github visual-studio-2017

所以我试图通过Visual Studio将一个ASP.NET MVC项目添加到Github存储库。我一直在遵循本教程的指导:https://www.c-sharpcorner.com/article/step-by-step-setup-git-version-control-with-net-project-and/

但是,到达第8步后,我在存储库中只有的是“ .gitignore”和“ .gitattribute”文件。这就是我在控制台中收到的输出:

A new Git repository has been created for you in C:\Users\User1\source\repos\Candidaturas.
Opening repositories:
C:\Users\User1\source\repos\Candidaturas
Opening repositories:
C:\Users\User1\source\repos\Candidaturas
The calling thread cannot access this object because a different thread owns it.

1 个答案:

答案 0 :(得分:-1)

第一次使用电子邮件和密码登录github帐户时,您会发现弹出窗口进行登录,请看这张照片清除 visual studio image