rehannali

Custom Diff and Merge for Sourcetree - Windows

Sep 28th, 2020 (edited)
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Custom Diff and Merge Tool for SourceTree - Windows

Set custom path to VSCode pointing code.cmd

Path to code.cmd.

C:\Users[username]\AppData\Local\Programs\Microsoft VS Code\bin\code.cmd

The commandline tools are used for diff and merge

DIFF

--diff --wait "$LOCAL" "$REMOTE"

OR

-d -w"$LOCAL" "$REMOTE"

MERGE

-n --wait "$MERGED"

OR

-n -w "$MERGED"

Add Comment
Please, Sign In to add comment