Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Atlympic Event: Team Playbook

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

77 views 0 8
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