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

Documentation: update "man git-add" to include "[]"

From
Robert P. J. Day <rpjday@crashcourse.ca>
Date
Dec 8, 2018, 15:00 UTC
Message-ID
<alpine.LFD.2.21.1812080958180.26244@localhost.localdomain>

Current "man git-add" emphasizes single letter interactive shortcut commands with "[]".

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
---
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 45652fe4a6..ad9bd7c7a6 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -239,8 +239,8 @@ and type return, like this:

 ------------
     *** Commands ***
-      1: status       2: update       3: revert       4: add untracked
-      5: patch        6: diff         7: quit         8: help
+      1: [s]tatus     2: [u]pdate     3: [r]evert     4: [a]dd untracked
+      5: [p]atch      6: [d]iff       7: [q]uit       8: [h]elp
     What now> 1
 ------------
-- 
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Next: Junio C Hamano
Message 1 of 2 in “Documentation: update "man git-add" to include "[]"”
  1. Robert P. J. DayDec 8, 2018
  2. Junio C HamanoDec 9, 2018

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.