I am on the 13th segment of the 5 hour course currently looking at Visual Diff Tools, I have gone ahead and run the following commands in the following order in regards to setup
Try looking at the file that the commands are updating.
That is C:\users\{your-user-name}\.gitconfig
Back up .gitconfig to another file, and manually edit it.
Watch the part of the lesson where Mosh shows what is in his .gitconfig
IN MY OPINION
I don’t bother configuring a diff tool.
I open VSCode directly and look at diffs.
My .gitconfig is very minimal.
Here’s my .gitconfig:
[user]
email = xxxxxxx@gmail.com
name = Jerry Cxxxxx
[filter “lfs”]
smudge = git-lfs smudge – %f
process = git-lfs filter-process
required = true
clean = git-lfs clean – %f
[core]
longpaths = true
autocrlf = true
My issue is a little different.
vscode opens just fine. There is a “Splash Page” but not files are shown.
How would one use VSCode to compare two files with one is in the staging area?
My apologies. I found it. Not sure why vscode is not defaulting to my project directory… probably a $PATH issue in one of the config files. ‘$LOCAL and $REMOTE’ are listed as in the tutorial. Results are different in practice. Hmmm.