LiveDemo - Open-source alternative to Storylane, Navattic, and Arcade | Product Hunt

How to Sync Sourcetree with Visual Studio Code


This guide is an interactive LiveDemo. Create interactive demos of your own product: Interactive demo software · Interactive customer onboarding guides · Start free


How to Sync Sourcetree with Visual Studio Code: step-by-step guide

  1. Navigate to the 'Tools' tab.

  2. Click 'Options'.

  3. In the 'Options' window, select 'Diff'.

  4. Go to the 'External Diff/ Merge' section, and click on the drop-down menu next to the 'External Diff Tool'.

  5. Select 'Custom'.

  6. Set the 'Diff Command and Arguments'.

  7. Click 'OK' to confirm the changes.

Quick answer: To sync Sourcetree with Visual Studio Code, navigate to the Tools tab and click Options. Select Diff, go to the External Diff/Merge section, and choose Custom from the External Diff Tool drop-down menu. Set the Diff Command and Arguments, then click OK to confirm the changes.

About this Sourcetree tutorial

Configure Visual Studio Code as your external diff tool in Sourcetree by adjusting the Diff settings and entering custom command arguments. This guide shows how to sync Sourcetree with Visual Studio Code in 7 steps, starting with "Navigate to the 'Tools' tab" and finishing with "Click 'OK' to confirm the changes". The interactive demo above is a click-through copy of the real Sourcetree interface, so you can rehearse each step before doing it in your own account.

Frequently asked questions

How many steps does it take to sync Sourcetree with Visual Studio Code?

7 steps. Each one is listed in order above, and the demo highlights exactly where to click.

Can I try it without changing my own account?

Yes. Clicking through the demo doesn't touch your Sourcetree data or settings. Once you know the flow, repeat it in your own workspace.

This tutorial is filed under Sourcetree. Related guides: How to Tag in Sourcetree, How to Update Sourcetree and How to Update Sourcetree Mercurial. Last reviewed 05 Oct 2026.

LiveDemo - Open-source alternative to Storylane, Navattic, and Arcade | Product Hunt
🚀

Create your first interactive demo in minutes

No credit card required • Start building today

Start free→