简体   繁体   中英

Using Git in Visual Studio, how do I navigate repository files?

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:

在此输入图像描述

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?

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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM