Skip to contentSkip to conversation

duplicated Working tree

DISCUSSION Samy Louis 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore

Samy Louis

author
#0 lore raw

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

#1 lore raw

Samy Louis venit, vidit, dixit 23.03.2011 12:03:

Quoted 23 lines

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.

Quoted 1 line

Thanks in advance .

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

Michael

author
#2 lore raw

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:[email protected]]
Sent: Wednesday, March 23, 2011 3:38 PM
To: Samy Louis
Cc: [email protected]
Subject: Re: duplicated Working tree

Samy Louis venit, vidit, dixit 23.03.2011 12:03:

Quoted 23 lines

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.

Quoted 1 line

Thanks in advance .

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

Michael