Question: In Bonobo Git server 5.2.0.0 I changed the "Repository directory" to something like `D:\Git_Repositories`. 

But, It will search for repositories only directly under that folder and will not propagate inside it for folders inside it.

For example:

```
D:\Git_Repositories\PROJECT_A_Repos\Repository_1
D:\Git_Repositories\PROJECT_A_Repos\Repository_2
etc.

```

Can that be done somehow?  

(Without creating a new Bonobo application for each repository directory)

Answer: 
> 
> Can that be done somehow ?
> 
> 
> 

Under the current implementation, no:  

The [`Bonobo.Git.Server/Git/IGitRepositoryLocator.cs#IGitRepositoryLocator`](https://github.com/jakubgarfield/Bonobo-Git-Server/blob/aa9c0806fa3c011bcd3b0ee38aa42a819b570bdf/Bonobo.Git.Server/Git/IGitRepositoryLocator.cs#L9-L11) is used in [`Bonobo.Git.Server/Git/GitService/GitServiceExecutor.cs#ExecuteServiceByName()`](https://github.com/jakubgarfield/Bonobo-Git-Server/blob/aa9c0806fa3c011bcd3b0ee38aa42a819b570bdf/Bonobo.Git.Server/Git/GitService/GitServiceExecutor.cs#L49) as so:

```
args += " \"" + repoLocator.GetRepositoryDirectoryPath(repositoryName).FullName + "\"";

```

But nothing prevent you to add more intelligence in [`Bonobo.Git.Server/Git/ConfigurationBasedRepositoryLocator.cs#GetRepositoryDirectoryPath()`](https://github.com/jakubgarfield/Bonobo-Git-Server/blob/aa9c0806fa3c011bcd3b0ee38aa42a819b570bdf/Bonobo.Git.Server/Git/ConfigurationBasedRepositoryLocator.cs#L18), making sure to find a subfolder name repository+".git" instead of blindly combining the name of the repo to a fixed base folder.

---

The [OP Elyahu](https://stackoverflow.com/users/1977045/elyahu) ended up ([in the comments](https://stackoverflow.com/questions/38685745/can-i-create-multiple-repository-directories-in-bonobo-git-server/38686089#comment65013934_38686089)) with:

> 
> I just created another Bonobo site that used the other folder as repositories container.  
> 
>  Bonobo basic site is less than 40MB
> 
> 
>
Another solution can be to make a LINK to another directory

From the directory: C:\inetpub\wwwroot\Bonobo.Git.Server\App\_Data
enter the following command:
MKLINK /D Repositories D:\\Repositories

(for info on MKLINK see: <https://technet.microsoft.com/en-us/library/cc753194(v=ws.11).aspx> )