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

Re: Pasky problem with 'git init URL'

From
JSJohn Stoffel <john@stoffel.org>
Date
Apr 21, 2005, 21:15 UTC
Message-ID
<17000.6154.748117.967898@smtp.charter.net>
In-Reply-To
<20050421202928.GH7443@pasky.ji.cz>
>>>>> "Petr" == Petr Baudis <pasky@ucw.cz> writes:

Petr> Perhaps it would be useful to have some "command classes" (with at least Petr> cg-*-(add|ls|rm)), like:

Petr> cg-branch-ls Petr> cg-remote-rm Petr> cg-tag-add

Just speaking of consistency, can we make it so that all the commands are just variations with out the damm dashes in them? Something like:

  git lsbranch
  git lstag
  ...

Or something mildly along those lines. I don't even care what ORDER they are, whether the 'ls' comes before or after the object type it works on. But make it the same every where, so that ls, rm, add, check, foo, barzle, ... all use the same format.

Makes it much much easier to extrapolate what command syntax to use when new objects to be acted upon are added.

Does a standard like:
  git <objecttype> <command> <args> [<obj> ...]

make sense? Easy to script, easy to remember. Even munging <objtype><command> into a single word is ok.

John
Previous: Petr BaudisNext: Petr Baudis
Message 3 of 7 in “Pasky problem with 'git init URL'”
  1. Martin SchlemmerApr 21, 2005
  2. Petr BaudisApr 21, 2005
  3. John StoffelApr 21, 2005
  4. Petr BaudisApr 21, 2005
  5. John StoffelApr 22, 2005
  6. Fabian FranzApr 21, 2005
  7. Martin SchlemmerApr 21, 2005

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.