Search code examples
gitvisual-studio-2022

How do I see the contents of the git repository in Visual Studio 2022?


As a TFVC veteran, I'm trying to move to Git due to decision from above. I managed to create a repository on DevOps, clone it on my machine (attempting to merely "connect" to it had no effect) and even commit and push changes, but I can't find a way to view the repository's contents from Visual Studio.

the Team Explorer gives me two buttons "Git Changes" and "Git Repository", but the latter, instead of showing me the file tree on the repository, only shows me what seems to be a history.


Solution

  • I can't.

    Visual Studio provides no way to see the contents of the actual, central repository. In the case of Github and Azure DevOps, the simplest way is to use a web browser and explore the repository through the website.