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

What's a "work tree"?

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

I'm trying to figure out what a "work tree" is.  as in --work-tree. 
This is a new command right, the tutorials I've read don't have it. The 
man page has the syntax but I don't know what it's for.

$ cd /www/mysitedocroot
$ git --git-dir /gitdir/mysitegit/ add .
fatal: add must be run in a work tree

thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help