Re: How to have multiple working copy directories use the same repository?
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Oct 11, 2007, 19:00 UTC
- Message-ID
- <20071011190025.GC2804@steel.home>
- In-Reply-To
- <744844.82514.qm@web55015.mail.re4.yahoo.com>
Bill Priest, Thu, Oct 11, 2007 20:10:50 +0200:
> 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?
Look for "alternates" in git's documentation. But read all the warnings regarding git-gc and git-prune. Make a note of ".keep" files.
> 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.
Git is flexible enough to accomodate almost any existing workflow. Just some of them work better.