Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to view history for all Git commits/changes for a Visual Studio solution?

I can right click on a file using the Solution Explorer in Visual Studio 2017 and View History which shows all the history of the changes for that file.

I would like to do the same at the solution or project node and view all the changes for all the files. Is there a way to do this?

like image 876
Tony_Henrich Avatar asked Nov 07 '17 07:11

Tony_Henrich


People also ask

How do I see my entire git history?

On GitHub, you can see the commit history of a repository by: Navigating directly to the commits page of a repository. Clicking on a file, then clicking History, to get to the commit history for a specific file.

How do I see changes in git Visual Studio?

To help you focus on your Git repository, Visual Studio has a Git Repository window, which is a consolidated view of all the details in your repository, including local and remote branches and commit history. You can access this window directly from either Git or View on the menu bar or from the status bar.

Does git store history of all commits?

The blob, tree, and commits are how Git stores the complete history of your repository. It does all the references by the object hash: there is no way of manipulating the history or files tracked in the repository without breaking the relations.

How do I view the history of a file in Visual Studio code?

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.


2 Answers

In the Changes window, you can view the repo history under the Actions dropdown:

Showing the Actions context menu with "View History" highlighted

like image 151
Jimmy Avatar answered Oct 05 '22 19:10

Jimmy


Alternatively to @Jimmy answer you can stay within Solution Explorer by switching it to show the Folders view. Then you can right click on the top of the folder tree and select View History.

Solution Explorer - Folders

Right Click - View History

like image 41
DaveWilliamson Avatar answered Oct 05 '22 17:10

DaveWilliamson