git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mike <fromlists@talkingspider.com>
To: git@vger.kernel.org
Subject: What's a "work tree"?
Date: Thu, 24 Jan 2008 14:09:33 -0500	[thread overview]
Message-ID: <4798E26D.3040707@talkingspider.com> (raw)


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

             reply	other threads:[~2008-01-24 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 19:09 Mike [this message]
2008-01-25  6:14 ` What's a "work tree"? Jeff King
2008-01-25 20:54   ` Mike
2008-01-25 21:56     ` Jeff King

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4798E26D.3040707@talkingspider.com \
    --to=fromlists@talkingspider.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).