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

-Greg

2 answers

1 accepted

0 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

53 views 4 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