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

Re: executing git from a non git directory

From
Patrick Aljord <patcito@gmail.com>
Date
Jul 22, 2007, 19:02 UTC
Message-ID
<6b6419750707221202t7a5cbafcs5d38ee7a10042247@mail.gmail.com>
In-Reply-To
<20070722071136.GA346@coredump.intra.peff.net>
ok thanx to both of you Jeff and Shawn for the info.
On 7/22/07, Jeff King <peff@peff.net> wrote:
>   git --work-tree=/path/to/my_git_dir --git-dir=/path/to/my_git_dir/.git status
>
> which is what you actually want.
ok, I'm going to try that, thanx.
Pat
Previous: Jeff King
Message 4 of 4 in “executing git from a non git directory”
  1. Patrick AljordJul 22, 2007
  2. Shawn O. PearceJul 22, 2007
  3. Jeff KingJul 22, 2007
  4. Patrick AljordJul 22, 2007

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.