You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm using a Macbook Pro and have installed both Visual Studio Code (with command line) and Sourcetree. I used sourcetree to setup the external diff tool. And can confirm git is using it by going to a directory with changes and running "git difftool". This will launch vscode diff on the files in the directory. But whenever I right click a changed file in Sourcetree and select External Diff nothing happens. I verified there are no other git config files by using:
find /my/home/dir -n ".gitconfig"
Here is my .gitconfig
editor = code --wait
tool = sourcetree
tool = sourcetree
prompt = false
cmd = code --wait --diff $LOCAL $REMOTE
cmd = code --wait $MERGED
trustExitCode = true
Is there some step I'm missing or something I did incorrect?
Still not working after complete reinstall of sourcetree. Followed these directions and even removed the app before starting over.
No I don't think doing that to Sourcetree will change anything.
Playing around with it I followed the settings described here to get it working from the command line, then tried transposing them into the Sourcetree settings
Sorry for the late reply, no I cannot get it to launch on macOS at the moment. The Sourcetree setup and the manual setup in my config look the same, but while I can launch vscode via:
I can't get it to launch via Sourcetree. I will pass it along to my macOS colleagues.