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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 3 hours ago in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

19 views 0 2
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