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

[PATCH v2 1/3] git-remote.txt: be specific about default behavior

From
Denton Liu <liu.denton@gmail.com>
Date
Feb 12, 2019, 09:56 UTC
Message-ID
<7e7e0dde0495e105bb717418745cc24edd051887.1549965172.git.liu.denton@gmail.com>
In-Reply-To
<cover.1549965172.git.liu.denton@gmail.com>
Instead of beating around the bush, we directly specify the subcommand
that is called by default when none are provided. This way, a user will
know where to look for more information.
---
 Documentation/git-remote.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/git-remote.txt b/Documentation/git-remote.txt
index 0cad37fb81..a2e685818b 100644
--- a/Documentation/git-remote.txt
+++ b/Documentation/git-remote.txt
@@ -41,8 +41,8 @@ OPTIONS
 COMMANDS
 --------
 
-With no arguments, shows a list of existing remotes.  Several
-subcommands are available to perform operations on the remotes.
+With no arguments, the default command is 'show'.  Several subcommands are
+available to perform operations on the remotes.
 
 'add'::
 
-- 
2.20.1.522.gd8785cdd01
Previous: Denton LiuNext: Denton Liu
Message 4 of 14 in “git-submodule.txt: document default behavior”
  1. git-submodule.txt: document default behaviorDenton Liu, Feb 12, 2019
  2. Duy NguyenFeb 12, 2019
  3. 0/3 Document git-submodule's default behaviorDenton Liu, Feb 12, 2019
  4. 1/3 git-remote.txt: be specific about default behaviorDenton Liu, Feb 12, 2019
  5. 2/3 git-submodule.txt: make subcommands underlinedDenton Liu, Feb 12, 2019
  6. Denton LiuFeb 13, 2019
  7. Duy NguyenFeb 13, 2019
  8. Junio C HamanoFeb 13, 2019
  9. 3/3 submodule: document default behaviorDenton Liu, Feb 12, 2019
  10. Junio C HamanoFeb 13, 2019
  11. Denton LiuFeb 14, 2019
  12. Junio C HamanoFeb 14, 2019
  13. 0/1 Document git-submodule's default behaviorDenton Liu, Feb 15, 2019
  14. 1/1 submodule: document default behaviorDenton Liu, Feb 15, 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.