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

Accepted Answer
0 votes

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
Community showcase
Published 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

13 views 0 0
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