Using Git in Visual Studio, how do I navigate repo

2019-02-16 19:13发布

I installed Visual Studio Tools for Git in Visual Studio 2012, which looks just like the Git support Visual Studio 2013 has out of the box. I went to "Connect to Team Projects" and used "Add" under Local Git Repositories to add an existing Git repository. When I open it, I see no option to browse the code:

enter image description here

The Solution Explorer pane is empty, too.

How do I navigate the Git repository files within Visual Studio? Isn't there a "Source Control Explorer" for Git like there is for TFVC?

1条回答
爷的心禁止访问
2楼-- · 2019-02-16 19:24

There actually isn't a way to navigate your Git repo inside VS yet. If you're on the RTM you can open any solution that is inside the repo from the Team Explorer homepage. Other than that you need to use Windows Explorer or something else for now.

I've been told that this is high on their priority list, so I would expect to see it soon (probably 2013.1 I would guess).

查看更多
登录 后发表回答