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

bad error message - Not a git repository (or any of the parent directories): .git

From
Alexander Mills <alexander.d.mills@gmail.com>
Date
Oct 3, 2019, 22:37 UTC
Message-ID
<CA+KyZp6MKqL0mz-iCHGEcvZi09P+GmS7QEogX10-2OJ5nMPDRA@mail.gmail.com>
when running git commands outside of a git repo, we often see:
fatal: Not a git repository (or any of the parent directories): .git

such a lame message lol. can we get an absolute path on this message in future git versions, eg:

Not a git repository (or any of the parent directories): /home/ubuntu/xyz/.git
ty
-alex
-- 
Alexander D. Mills
New cell phone # (415)730-1805
alexander.d.mills@gmail.com

www.linkedin.com/pub/alexander-mills/b/7a5/418/
Next: Johannes Schindelin
Message 1 of 2 in “bad error message - Not a git repository (or any of the parent directories): .git”
  1. Alexander MillsOct 3, 2019
  2. Johannes SchindelinOct 4, 2019

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.