It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

CLI (Command Line Interface) to Add Local Repo to SourceTree [Windows]

Is there any way to Add a local repository to be tracked by SourceTree without using the GUI?

I'm creating some workflow tools for an internal package manager for which it is important to be able to add a local repository to SourceTree via a command line. This will be run automatically by my tools and shouldn't require the user's input (besides maybe input of a username/password) 

If there is a file that contains a list of repositories that I can edit, that would work as well. I tried looking around in the Program Files, but didn't find anything except an XML for which tabs were open.

 

Using the latest SourceTree version (3.0.17) on Windows 10.

Thanks

1 answer

0 votes
minnsey Atlassian Team Feb 07, 2019

Hi

I'm afraid there isn't currently a CLI to do that, however you could amend the %localappdata%\Atlassian\Sourcetree\bookmarks.xml

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,917 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you