Visual Studio Code has several sets of git commands to execute and perform several tasks for your code repository. However, if you are looking to visualize the git history, you can use the Git History Extension from Don Jayamanne. This is an excellent and widely used extension for Visual Studio Code which shows you details of a commit, viewing previous copy of the files, changes to the active line in the editor, etc.
With this extension, you will find several feature sets for your Git repository such as
- View details of each commit in a Visualize hierarchy
- View history of a file or line
- Compare a previous copy of a file against the local workspace version.
- View the changes to the active line
When you have repository open in Visual Studio code, you can execute the command Git: View History (git log) from the command Plate. This will open the Git History Window with all change logs for the repository.
You can then select individual commits for detailed change logs for each of them.
This extension also helps you in the View and search git log along with the details.
Extension Details:
Download the Extension from Visual Studio Code Market Place
Git Repo for the Git History Extension
There are several other extensions for both Visual Studio and Visual Studio Code which helps improving development productivity and achieving things faster. Over the periods I will write about such extensions which I am using. Feel free to share your favorite extensions that you are using in Visual Studio or Visual Studio Code
Thanks
Pingback: Azure Cloud Shell in Visual Studio Code - Daily .NET Tips