git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Working with Git and CVS in a team.

From
Jeff King <peff@peff.net>
Date
Jun 15, 2008, 20:48 UTC
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:
Show 10 quoted lines
> >   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
Previous: Mirko StockerNext: Mirko Stocker
Message 13 of 14 in “Working with Git and CVS in a team.”
  1. Mirko StockerJun 13, 2008
  2. Miklos VajnaJun 13, 2008
  3. Mirko StockerJun 13, 2008
  4. Miklos VajnaJun 13, 2008
  5. Mirko StockerJun 15, 2008
  6. Miklos VajnaJun 15, 2008
  7. John J. FraneyJun 16, 2008
  8. Jakub NarebskiJun 16, 2008
  9. Jeff KingJun 13, 2008
  10. Mirko StockerJun 13, 2008
  11. Jeff KingJun 13, 2008
  12. Mirko StockerJun 15, 2008
  13. Jeff KingJun 15, 2008
  14. Mirko StockerJun 16, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.