Re: French git user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Johan Herland <johan@xxxxxxxxxxx> writes:

> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux