You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
Hi
I'm afraid there isn't currently a CLI to do that, however you could amend the %localappdata%\Atlassian\Sourcetree\bookmarks.xml
How to do the same on Mac OS. Is that possible for one to add the repo to the Sourcetree GUI from the terminal?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.