Thread (14 messages) flat view 14 messages, 7 authors, 2016-06-15

Re: Working with Git and CVS in a team.

From: Jeff King <hidden>
Date: 2016-06-15 22:44:46

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help