Re: French git user
- From
- Hannu 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