It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree: How to invoke "diff" from terminal?

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

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
Community showcase
Published in Summit

Don't miss out: Upcoming AMAs with Atlassian's Remote Summit 2020 Superstars!

Hello Community members! Remote Summit 2020 was a blast. And without those long walks from one side of the Mandalay Bay to the other, everyone should still have the energy to keep the Summit party ...

197 views 3 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you