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

Re: Cloning into an existing, non-empty directory?

From
Richard Hartmann <richih.mailinglist@gmail.com>
Date
Apr 25, 2011, 14:08 UTC
Message-ID
<BANLkTimi8Q+2bK3QdWdJdX1V-WbrU+AbdA@mail.gmail.com>
In-Reply-To
<20110425075750.GA28172@elie>
2011/4/25 Jonathan Nieder <jrnieder@gmail.com>:
> Is this what you mean?  "git merge" is not advertised as taking the
> name of a remote repository as a parameter.  The usual usage is
> instead to pass a commit, as in "git merge origin/master".

Ugh. I must have copied the wrong command into my script and then ran with it, trying to fix the error I was getting in the wrong place. Sorry for that. I am running with environment variables and without any explicit --work-tree --git-dir as well and everything works just fine.

In case anyone is interested, I attached the working version.

Thanks a lot for your help, I really appreciate it! Richard

Previous: Jeff King
Message 12 of 12 in “Cloning into an existing, non-empty directory?”
  1. Richard HartmannApr 21, 2011
  2. Jonathan NiederApr 21, 2011
  3. Richard HartmannApr 22, 2011
  4. Jonathan NiederApr 23, 2011
  5. Nguyen Thai Ngoc DuyApr 23, 2011
  6. Jonathan NiederApr 23, 2011
  7. Richard HartmannApr 23, 2011
  8. Jonathan NiederApr 25, 2011
  9. Andreas SchwabApr 25, 2011
  10. Jonathan NiederApr 25, 2011
  11. Jeff KingApr 25, 2011
  12. Richard HartmannApr 25, 2011

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.