How to see diff of each commit with Visual Studio Code?
Yes, it has built in git
integration. Please refer to this tutorial. There are also plethora of extensions, like Git History
and Git Project Manager
- Install the GitLens extension (or it's already installed by default)
- Go to the GitLens tab in the sidebar
- Find the row 'Search Commits'
- Enter the commit SHA
You'll see all files that were changed in that commit.
On Windows or Mac:
Ctrl + Shift + G
Then click on the "M" (short for Modified) next to the file that you wish to view diffing on.