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.
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}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 .....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.