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

Re: git push to a local directory with no .git in it

From
RCRichard Curnow <rc@rc0.org.uk>
Date
Sep 30, 2005, 22:51 UTC
Message-ID
<loom.20051001T000906-187@post.gmane.org>
In-Reply-To
<7v7jcze7xu.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio <at> cox.net> writes:
> 
> Please don't presume, but dig.
Yes, sorry.  It was late...
> 
> If you do not have mairix.git/objects or mairix.git/refs/heads/
> then that's when you get that error message.

In fact, it turned out that I did still had a .git under mairix.git, but I'd mv'd its contents up to the mairix.git level and forgotten to delete the .git directory. Doh.

Thanks for your help, anyway.  It was a very strong clue what to look for.
Richard
Previous: Junio C Hamano
Message 3 of 3 in “git push to a local directory with no .git in it”
  1. Richard CurnowSep 29, 2005
  2. Junio C HamanoSep 30, 2005
  3. Richard CurnowSep 30, 2005

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.