api for adding bookmarks?

Is there and API that I can use too add Bookmarks to SourceTree?

 

For background, I have a tool that checks out git repositories and configures them for my developer environment.  As a step it would be a nice touch if I could add them to my SourceTree bookmarks.

2 answers

1 accepted

BTW: There's also missing detailled documentation on configuration of Sourcetree. Having this you might add your bookmarks by manipulation of sourcetree-configuration ...

 

Doing so, you do not have to run Sourcetree

On Win-Systems you find the Bookmarks here: {c:\Users\XXXX\AppData\Local\Atlassian\SourceTree\bookmarks.xml}

I'm only familiar with SourceTree for windows - so the answer might be different for SourceTree for MAC

You can startup SourceTree only with a few different command line options - there is no option to create a bookmark directly:

Run

sourcetree.exe --help

to see the list of available options.

Running

sourcetree.exe -f PATH_TO_YOUR_REPO

opens sourcetree and offers to add the new repository to your bookmarks as well .....

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

231 views 0 3
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot