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

Minor bug with help.autocorrect.

From
Bjørnar Snoksrud <snoksrud@gmail.com>
Date
Aug 19, 2015, 10:35 UTC
Message-ID
<CA+cck7Ex4UO9BAzZ1kq5jw1vYqFb+mbzNQh-RvYAvK5v2T4G0g@mail.gmail.com>

If you mis-type a git command starting with a non-letter, git internals will spit out some errors at you.

$ git 5fetch error: invalid key: pager.5fetch error: invalid key: alias.5fetch git: '5fetch' is not a git command. See 'git --help'.

Did you mean this?
        fetch

$ git \#fetch error: invalid key: pager.#fetch error: invalid key: alias.#fetch git: '#fetch' is not a git command. See 'git --help'.

Did you mean this?
        fetch
-- 
bjornar@snoksrud.no
Next: Junio C Hamano
Message 1 of 7 in “Minor bug with help.autocorrect.”
  1. Bjørnar SnoksrudAug 19, 2015
  2. Junio C HamanoAug 21, 2015
  3. Jeff KingAug 21, 2015
  4. Junio C HamanoAug 21, 2015
  5. Jeff KingAug 24, 2015
  6. Jeff KingAug 24, 2015
  7. Junio C HamanoAug 24, 2015

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.