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

Re: French git user

From
HKHannu Koivisto <azure@iki.fi>
Date
Nov 26, 2008, 16:22 UTC
Message-ID
<83zljmo3sw.fsf@kalahari.s2.org>
In-Reply-To
<200811261123.56317.johan@herland.net>
Johan Herland <johan@herland.net> writes:
Show 10 quoted lines
> On Wednesday 26 November 2008, Nicolas Morey-Chaisemartin wrote:
>> Yes I say in french that git-foo is deprecated.
>> However I'm still using it in the following slides because people
>> have directly the good command to look at the man.
>> I know it's not really consistent but asI'd rahter keep it that way
>> and insist while presenting it, it should only be used for man pages.
>
> The man pages are also accessible _without_ using the "git-foo" form, 
> either by doing "git foo --help" or "git help foo". I'd suggest using 
> the "git foo" form, and using "git help foo" instead of "man git-foo".

Depending on the audience, one might want to mention that if you are using a modern version of zsh as your shell and have activated its run-help function (see http://zsh.dotsrc.org/Doc/Release/zsh_24.html#SEC218), you can just say

git foo -bar <M-h>

and you'll get git-foo manual page. When you exit man, you'll get your command line back just like it was when you hit M-h. I think it handles even "echo dum ; git foo <M-h>" kind of cases. You can't live without it once you have tried it. Or the completion with descriptions for options etc.

-- 
Hannu
Previous: Johan HerlandNext: nadim khemir
Message 10 of 15 in “French git user”
  1. Nicolas Morey-ChaisemartinNov 25, 2008
  2. Christian MICHONNov 25, 2008
  3. Jean-Francois VeilletteNov 25, 2008
  4. Christian MICHONNov 25, 2008
  5. Nicolas Morey-ChaisemartinNov 25, 2008
  6. Nicolas Morey-ChaisemartinNov 26, 2008
  7. Johan HerlandNov 26, 2008
  8. Nicolas Morey-ChaisemartinNov 26, 2008
  9. Johan HerlandNov 26, 2008
  10. Hannu KoivistoNov 26, 2008
  11. nadim khemirNov 30, 2008
  12. Jean-Francois VeilletteNov 26, 2008
  13. Pascal ObryNov 26, 2008
  14. Pascal ObryNov 26, 2008
  15. Pascal ObryNov 26, 2008

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.