# Problem when setting up git repository with UNC path

**URL:** https://www.finalbuilder.com/forums/t/problem-when-setting-up-git-repository-with-unc-path/4996
**Category:** Discussion
**Created:** [June 21, 2013, 10:58am UTC](https://www.finalbuilder.com/forums/t/problem-when-setting-up-git-repository-with-unc-path/4996 "2013-06-21T10:58:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [June 21, 2013, 10:58am UTC](https://www.finalbuilder.com/forums/t/problem-when-setting-up-git-repository-with-unc-path/4996/1 "2013-06-21T10:58:27Z")

</div>

I am currently trying out Continua and want to set it up to connect to our git repository which is accessible through a Windows network share.

After trying out a number of variations of specifying the path I am still getting errors from Continua which tell me that the specified path is not a git repository.

The message I got was always similar to this:

> > Repository cannot be initialised: Running git.exe with arguments "clone file://\\\\Server\git\Repo E:\Continua\Rc\5b708ba0" failed and threw exception: "Running git.exe with arguments "clone file://\\\\Server\git\Repo E:\Continua\Rc\5b708ba0" failed with return code 128 and error output: "Cloning into 'E:\Continua\Rc\5b708ba0'...  
> >    
> > fatal: '\\Server\git\Repo' does not appear to be a git repository  
> > fatal: Could not read from remote repository.
> > 
> > Please make sure you have the correct access rights  
> > and the repository exists.

&nbsp;

I tried to clone the repo by hand using the command line and it worked just fine. Am I just missing something in my configuration or is this a bug?

&nbsp;

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 21, 2013, 12:07pm UTC](https://www.finalbuilder.com/forums/t/problem-when-setting-up-git-repository-with-unc-path/4996/2 "2013-06-21T12:07:53Z")

</div>

Git is a bit fussy about slashes, backslashes need to be escaped, try   
  
 file://\\Server\git\Repo   
  
 or   
  
 file:////Server/git/Repo   
  
 Both worked fine for me.

---

<div class="post-metadata">

### Author: ![chillefeld](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/chillefeld/32/1333_2.png) [@chillefeld](https://www.finalbuilder.com/forums/u/chillefeld)
#### Post date: [June 21, 2013, 12:56pm UTC](https://www.finalbuilder.com/forums/t/problem-when-setting-up-git-repository-with-unc-path/4996/3 "2013-06-21T12:56:05Z")

</div>

Unfortunately those did not work either. I have been able to circumvent the problem by making the Repo available through HTTP however.
