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

How to have multiple working copy directories use the same repository?

From
BPBill Priest <priestwilliaml@yahoo.com>
Date
Oct 11, 2007, 18:10 UTC
Message-ID
<744844.82514.qm@web55015.mail.re4.yahoo.com>
All,
  My current business requirements make it
advantageous to have two concurrent working
directories (that have similar file structure; but not
exactly the same); I need to maintain two separate
builds that are always up to date.  Each working
directory would be associated with a particular
branch/line of branches (think of two different
hardware platforms that have considerable overlap).  A
complication to this is that I need to use git-svn as
the remainder of the team uses svn (I just changed
from cvs to svn last Jan so it is a hard sell to
management to change again).  I'm using git for the
merge capabilities.
  I've looked at the "git for CVS users" section in
the docs and this appears to create two repositories. 
Is there a way to have two working directories that
utilize the same repository?
  I'm betting that I'm just trying to push my workflow
style onto git instead of adapting to the git way of
doing things; but thought I would ask.
TIA,

Bill PS. I'm trying to avoid the push in the commit, push, merge, dcommit cycle.

       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
Next: Alex Riesen
Message 1 of 4 in “How to have multiple working copy directories use the same repository?”
  1. Bill PriestOct 11, 2007
  2. Alex RiesenOct 11, 2007
  3. Shawn O. PearceOct 12, 2007
  4. SergioOct 11, 2007

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.