How to use from terminal?

Hi,

I'm currently using

open -a /Applications/SourceTree.app .

to open the SourceTree from the terminal.

The probelm with it is that it always prompts me to Create Bookmark for the current (git) repo (even though it already exists).

Additionally, it opens the Bookmarks window too.

What I want is to just see the window with the current repo info.

What's the best way of opening it from the terminal?

Cheers,
Dmytrii. /@dnagir

1 answer

1 accepted

SourceTree 1.3 provides its own command-line tool 'stree' (as well as a truck load of other new stuff & major performance improvements). There's information on how to obtain the beta version here: http://www.sourcetreeapp.com/2011/12/29/sourcetree-1-3-beta-3-released/. Once you have it, you can use the menu option SourceTree > Install Command Line Tools

It's technically a beta, but actually it's really stable - we're really close to release now.

Thanks a lot. I'll see maybe I'll use Beta or just wait for the release.

Cheers.

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
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

384 views 4 10
Read article

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