On Sun, Jun 15, 2008 at 10:22:49PM +0200, Mirko Stocker wrote:
quoted
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