git/list[1] front-page[2] threads[3] people[4] search[5] about
 

duplicated Working tree

From
SLSamy Louis <samy.seif@go-eknowledge.com>
Date
Mar 23, 2011, 11:03 UTC
Message-ID
<002701cbe949$e957f050$bc07d0f0$@go-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

Next: Michael J Gruber
Message 1 of 3 in “duplicated Working tree”
  1. Samy LouisMar 23, 2011
  2. Michael J GruberMar 23, 2011
  3. Samy LouisMar 23, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.