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

Re: Merging a foreign tree into a bare repository.

From
EREric Raible <raible@gmail.com>
Date
Jul 9, 2008, 21:04 UTC
Message-ID
<loom.20080709T205908-869@post.gmane.org>
In-Reply-To
<alpine.DEB.1.00.0807092040360.4010@eeepc-johanness>
Johannes Schindelin <Johannes.Schindelin <at> gmx.de> writes:
Show 12 quoted lines
> 
> Hi,
> 
> On Wed, 9 Jul 2008, Jakub Narebski wrote:
> > 
> > Or, alternatively, you can tell git where you want to have working
> > directory with '--work-tree' parameter to git wrapper,
> 
> ... which runs the risk of you forgetting to specify the same working 
> directory all the time.
> 
> Which is the reason I did not suggest it.
How about:
GIT_WORK_TREE=<some-dir>; export GIT_WORK_TREE
Combined with a PS1 which include an indication that GIT_WORK_TREE is set?
- Eric
Previous: Johannes Schindelin
Message 6 of 6 in “Merging a foreign tree into a bare repository.”
  1. Dave QuigleyJul 9, 2008
  2. Johannes SchindelinJul 9, 2008
  3. Alejandro RiveiraJul 9, 2008
  4. Jakub NarebskiJul 9, 2008
  5. Johannes SchindelinJul 9, 2008
  6. Eric RaibleJul 9, 2008

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.