From: Andrew Johnson <ajohnson388@gmail.com>
To: git@vger.kernel.org
Subject: Why are there multiple ways to get the manual in Git?
Date: Sat, 17 Sep 2016 13:47:52 -0400 [thread overview]
Message-ID: <CAM_5GX48gDAZSvAWnxO5n8uhYf8vmfAJ88_31_ewsQxyPfF7iA@mail.gmail.com> (raw)
Hi,
I was curious as to why the developers of Git decided to have three
methods to get the manual for a verb. I am a developer who strives to
understand Git to its fullest extent, and will share any information
given on this question.
While reading Pro Git 2nd Ed. I came across these three methods:
$ git help <verb>
$ git <verb> --help
$ man git-<verb>
I tested all three to confirm they were equivalent.
What was the motivation behind the complication, if any? I presume
most developers would not provide multiple commands that do the same
thing for absolutely no reason, so I led myself to ask this question.
Respectfully,
Andrew Johnson
next reply other threads:[~2016-09-17 17:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-17 17:47 Andrew Johnson [this message]
2016-09-17 18:39 ` Why are there multiple ways to get the manual in Git? Fredrik Gustafsson
2016-09-17 19:12 ` Philip Oakley
2016-09-17 19:21 ` Christian Couder
2016-09-18 10:21 ` Jakub Narębski
2016-09-18 10:51 ` Philip Oakley
2016-09-19 15:59 ` Junio C Hamano
2016-09-19 16:22 ` Philip Oakley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM_5GX48gDAZSvAWnxO5n8uhYf8vmfAJ88_31_ewsQxyPfF7iA@mail.gmail.com \
--to=ajohnson388@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).