Thread (4 messages) flat view 4 messages, 2 authors, 2016-06-15

Re: What's a "work tree"?

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

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