# duplicated Working tree

3 messages from 2011-03-23 to 2011-03-23. Participants: Samy Louis, Michael J Gruber.
Thread: https://gitlist.dev/t/26839

## Samy Louis, 2011-03-23 11:03

Subject: duplicated Working tree
Message-ID: <002701cbe949$e957f050$bc07d0f0$@go-eknowledge.com>
URL: https://gitlist.dev/e/002701cbe949%24e957f050%24bc07d0f0%24%40go-eknowledge.com

```

Hi,

I have a strange problem and need your support if possible.

When I clone a  remote GIT repository (LAN)  to  local machine,  I get two
working  folder one at the GIT local folder (normal) and the other in
 original path of where the remote repository had been created before it was
cloned  to remote network.

How can I overcome this issue to only have one local working folder.


Step to  reproduce it:

1- Create a local GIT repo.  (D:\repositoies\projectname)
2- Clone the GIT repo. to network path ( \\server\GIT\ projectname) use a
bare flag.
3- Clone the remote repo ( \\server\GIT\ projectname) to other machine in
path (C:\GIT\projectname) and create working tree
4- We will fine two working tree one at C:\GIT\projectname and the other at
D:\repositoies\projectname.

Thanks in advance .

Regards
Samy Louis

```

## Michael J Gruber, 2011-03-23 13:38

Subject: Re: duplicated Working tree
Message-ID: <4D89F7C5.6000900@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4D89F7C5.6000900%40drmicha.warpmail.net
In-Reply-To: <002701cbe949$e957f050$bc07d0f0$@go-eknowledge.com>

```
Samy Louis venit, vidit, dixit 23.03.2011 12:03:
> 
> Hi,
> 
> I have a strange problem and need your support if possible.
> 
> When I clone a  remote GIT repository (LAN)  to  local machine,  I get two
> working  folder one at the GIT local folder (normal) and the other in
>  original path of where the remote repository had been created before it was
> cloned  to remote network.
> 
> How can I overcome this issue to only have one local working folder.
> 
> 
> Step to  reproduce it:
> 
> 1- Create a local GIT repo.  (D:\repositoies\projectname)
> 2- Clone the GIT repo. to network path ( \\server\GIT\ projectname) use a
> bare flag.
> 3- Clone the remote repo ( \\server\GIT\ projectname) to other machine in
> path (C:\GIT\projectname) and create working tree
> 4- We will fine two working tree one at C:\GIT\projectname and the other at
> D:\repositoies\projectname.
> 
> Thanks in advance .

Didn't you create a working tree at D:\repositoies\projectname in step 1
already?

Michael

```

## Samy Louis, 2011-03-23 14:00

Subject: RE: duplicated Working tree
Message-ID: <002801cbe962$b4d313f0$1e793bd0$@go-eknowledge.com>
URL: https://gitlist.dev/e/002801cbe962%24b4d313f0%241e793bd0%24%40go-eknowledge.com
In-Reply-To: <4D89F7C5.6000900@drmicha.warpmail.net>

```
Yes I created it in local machine before I clone it to the remote machine ,
but  the issue appears   when I clone the remote repo to another machine to
different path.
Samy

-----Original Message-----
From: Michael J Gruber [mailto:git@drmicha.warpmail.net] 
Sent: Wednesday, March 23, 2011 3:38 PM
To: Samy Louis
Cc: git@vger.kernel.org
Subject: Re: duplicated Working tree

Samy Louis venit, vidit, dixit 23.03.2011 12:03:
> 
> Hi,
> 
> I have a strange problem and need your support if possible.
> 
> When I clone a  remote GIT repository (LAN)  to  local machine,  I get 
> two working  folder one at the GIT local folder (normal) and the other 
> in  original path of where the remote repository had been created 
> before it was cloned  to remote network.
> 
> How can I overcome this issue to only have one local working folder.
> 
> 
> Step to  reproduce it:
> 
> 1- Create a local GIT repo.  (D:\repositoies\projectname)
> 2- Clone the GIT repo. to network path ( \\server\GIT\ projectname) 
> use a bare flag.
> 3- Clone the remote repo ( \\server\GIT\ projectname) to other machine 
> in path (C:\GIT\projectname) and create working tree
> 4- We will fine two working tree one at C:\GIT\projectname and the 
> other at D:\repositoies\projectname.
> 
> Thanks in advance .

Didn't you create a working tree at D:\repositoies\projectname in step 1
already?

Michael

```
