How to add multiple local repositories at once into SourceTree Windows version?

Aleksey Guryanov
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2019

I have a folder in which I have a couple of dozens of sub-folders, each with it's own project versioned with git, something like this:

  • projects:
    • project_a
    • project_b
    • ...
    • project_z

I would like to add them all in a SourceTree in some folder.

In OSX version there is a way to do that, but I cannot find how to do it in Windows version (I have version 3.1.2 installed if it matters).

Do anybody know how to add all repositories from a given folder into SourceTree at once?

1 answer

0 votes
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 9, 2019

Hello! You can select all the folders and just drag them into the Local Repos tab in a New Tab. It should just add all of the repos.

Daniel Guo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2023

Hi Mike

I just tried it but it doesn't work for me. 

Like # people like this
wfreeman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 1, 2023

Adding that this does not work for me either.

Like flibustier7seas likes this
flibustier7seas
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2023

It works, but in a very non-obvious way. It is seems like a bug (SourceTree version 3.4.9).

You should move the folders to the lower border of the "Search" input field on the tab "Local repositories".

Like # people like this
emerald_hieu July 11, 2023

Drag and drop works for me (Source Tree 4.2.4). However, there's a UI issue; the directories can't be renamed.

Like Tasos.Zervos likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events