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

Should "git help" respect the 'pager' setting?

From
MCMichael Campbell <michael.campbell@gmail.com>
Date
May 30, 2013, 16:33 UTC
Message-ID
<CAKtB=OCyoN8ECYiAzXc3UiCrLfWn7Pq7_5CSQUjJ2dhbzQ2RsQ@mail.gmail.com>

I have my global git config pager set to 'cat', but when I do a "git help <command>", it still uses a pager. This is especially irksome in emacs shell buffers, where I am most of the time. I know I can do a M-x man -> git-<whatever>, but wondered if this was a bug or user error. ("git --no-pager help <command>" does the same.)

12:31 [mcampbell] /tmp  % git --no-pager help log
WARNING: terminal is not fully functional
-  (press RETURN)
Next: Matthieu Moy
Message 1 of 7 in “Should "git help" respect the 'pager' setting?”
  1. Michael CampbellMay 30, 2013
  2. Matthieu MoyMay 30, 2013
  3. Ramkumar RamachandraMay 30, 2013
  4. Matthieu MoyMay 30, 2013
  5. Ramkumar RamachandraMay 30, 2013
  6. John KeepingMay 30, 2013
  7. Junio C HamanoJun 2, 2013

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.