Re: What's a "work tree"?

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

 



On Fri, Jan 25, 2008 at 03:54:55PM -0500, Mike wrote:

> Yes, thanks, I was actually following this tutorial:
>
> http://www.kernel.org/pub/software/scm/git/docs/cvs-migration.html
>
> Which is how I ended up with a "bare" git dir.  Which actually I think  
> I'm ok with, seems to work ok.

Ah, OK. The normal use case would then be to clone that bare repository
(though you seem to be directly exposing the work tree with the
webserver, so you may not want to have the .git directory there -- there
was a long-ish thread about that a week or two ago).

> Also- I found out I needed a newish version of git to get the
> --work-tree argument. The CentOS repos have an older version,
> 1.2.something.

Yes, that is ancient in git terms (in particular, pre-1.5.x has a number
of interface differences). The work-tree option was added in 1.5.3.

-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