SourceTree: How to invoke "diff" from terminal?

moroshko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 28, 2011

How could I invoke SourceTree from terminal so it would perform a `diff` between `some.file` in the working directory and the same file in the last commit (or any other commit) ?

1 answer

1 accepted

0 votes
Answer accepted
stevestreeting
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 29, 2011

1.3 beta 2 will have the ability to launch SourceTree from the command line and open the repository, but if all you want to do is jump to a diff, 'hg diff' or 'git diff' with an external diff tool assigned is the fastest way, rather than going via SourceTree. SourceTree uses the same external diff tools anyway.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events