Load Sourcetree from current directory location in terminal

I'm frequently in the git repo I'm working with inside the terminal. I'd like to open an instance of Sourcetree from the terminal window. Is there a command I can run, either if it's a new repo that hasn't opened inside of Sourcetree as of yet, or opening a project thats already bookmarked?

The start of my troubles lies here

$sourcetree ./

bash: sourcetree: command not found


2 answers

1 accepted

0 votes
Accepted answer
David Simpson Community Champion Oct 02, 2012

Try here:

Then type stree at the command line.

My menu shows differently

I found a 1.5.4 download right now. I'm upgrading versions and will mark solved if this helps.

David Simpson Community Champion Oct 02, 2012
It looks like you we're using a different v1.5.3 to me. Different menus & different open source libraries included. It's ashame that the exact build number isn't displayed in the "About" dialog.

I mostly have been using the app store version of Source tree. When I grabbed the web site version, I got the additional menu items.

Any way to manually install this (i.e. something to add to path our source from our bashrc / bash_profile)? The menu option to "install command line tools" fails for me: https://answers.atlassian.com/questions/30955938/sourcetree-install-command-line-tools-fails-on-yosemite-version-10.10.5

I can't find the menu option SourceTree > Install Command Line Tools I'm using 1.5.3

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Want to know how Atlassians monitor their enterprise deployments?

At Atlassian, we believe in our own products – that's why we use them, even at the enterprise level. Doing so gives us first-hand experience of how they perform at scale; to do this, we monitor each ...

152 views 5 9
View post

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you