From: Jeff King Date: Sun, 15 Jun 2008 20:48:41 GMT Subject: Re: Working with Git and CVS in a team. Message-ID: <20080615204841.GA10270@sigill.intra.peff.net> In-Reply-To: <200806152222.50119.me@misto.ch> On Sun, Jun 15, 2008 at 10:22:49PM +0200, Mirko Stocker wrote: > > mkdir bare.git && (cd bare.git && git init) > > mkdir cvsimport-hack && ln -s ../bare.git cvsimport-hack/.git > > git cvsimport -C cvsimport-hack > > Uh, ok.. :) Thanks. > > I just wondered, do I even need the additional bare repository? If I use > git-cvsimport with -i, then it creates only the .git without doing a > checkout, then we could just clone this one from the clients and pull/push to > it? Sure. From the client perspective, there's not really a difference between a bare repo and one with a working directory. Using just one repo with a working directory will mean you just have one extra checkout on the server, which wastes a little space. -Peff