所以我试图通过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.