I know I can install the GitLens extension and view the Git Blame & Git History when the file is open. What I would like to know is how to set this automatically in my .gitconfig file.
I'm expecting the behaviour to be similar to git gui blame & gitk where it launches VSCode and instantly I can see the blame annotations or history panel.
Here is how my .gitconfig file looks like now:
[credential]
helper = store
[user]
email = MyEmail@hotmail.com
name = MyName
[core]
editor = code --wait
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[cola]
spellcheck = false
expandtab = true
blameviewer = code --wait **What should this line be?**
[gui]
editor = code
historybrowser = code --wait **What should this line be?**