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

This widget could not be displayed.
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

This widget could not be displayed.

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 yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

37 views 0 1
Join discussion

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