Re: Working with Git and CVS in a team.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux