I'm using visual studio 2016 git integration. If I right-click on a source file I can see the history of just that file. similarly if it's a sub-folder inside a project, I can see the history of the folder.
However, if I select a project or the solution in solution explorer, it just shows me the history of the .csproj or .sln file.
How do I see the history of the whole project or solution (i.e. the folder that corresponds to the project itself or the solution folder containing the projects)?
Visual Studio Code allows us to check the history of navigated files in Navigation History lists. You can open this window from “Goto–> Navigation History” or by just simply pressing Ctrl + Tab. This will bring list of all previously navigated files with in Visual Studio Code.
Git file History provides information about the commit history associated with a file. To use it: Go to your project's Repository > Files. In the upper right corner, select History.
Select an existing branch in Visual Studio 2019Visual Studio displays the current branch in the selector at the top of the Git Changes window. The current branch is also available in the status bar on the bottom-right corner of the Visual Studio IDE. From both locations, you can switch between existing branches.
You can change the Solution Explorer to Folders View
Then you can right-click to find the View History menu.
Have you tried to go to the Team Explorer, and choose one of the hubs Changes, or Branches, or Sync ? You will find a drop down menu item named Actions, and within that you will find View History.
or you can go to the different branches in the Branches Hub, right click one of the branches, and choose View History
This will show you the whole history for your repo for a given branch.
If you have multiple folders or solutions within a repo, there is currently no such feature within VS, so you then need to revert to the command line, and use git log, or the gitk for a kind of graphic view of the same, a previous answer for that is here: View git history for folder
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With