Show git commit log for selected source code information in an individual view
Launch VS Code Quick Open (cmd
/ctrl
+ p
), paste the following command, and press enter.
ext install gitk
I assume you have git installed.
vscode-gitk
will log
your selected document, and display log information into a separate view
{
"gitk.fontFamily": "monospace", //font you preferred for the gitk view
"gitk.colors": { // colors you want to re-define for gitk
"hash": "red",
"message": "blue",
"author": "orange",
"date": "white",
"defaultDetail": "pink"
}
}
- colors can be configured by setting
gitk.colors
- add whole repository
Gitk for Repository
support