From: Carl Worth <cworth@cworth.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: A tour of git: the basics (and notes on some unfriendly messages)
Date: Sat, 29 Sep 2007 20:38:53 -0700 [thread overview]
Message-ID: <87bqbkstyq.wl%cworth@cworth.org> (raw)
In-Reply-To: <7v1wcinvth.fsf@gitster.siamese.dyndns.org>
[-- Attachment #1: Type: text/plain, Size: 2965 bytes --]
On Fri, 28 Sep 2007 17:45:30 -0700, Junio C Hamano wrote:
> Thanks for starting this. It was an interesting read.
You're welcome. I hope it's useful for people.
The original goal was to demonstrate that git is no harder to learn
than mercurial. So that attempt is done, now, (whether successful or
not, I can't really judge).
Now, after getting some initial feedback, it's clear that the document
could further be improved by focusing on the "git way" of doing things
that aren't as natural in hg, (like multiple branches in a single
repository).
Rather than extending the current document, though, I think I'll just
draw up on outline based on what I think would be a good order to
introduce the topics. And then I'll see what text in the current
user's guide could plug into that outline, and what pieces might
be missing or could be improved.
At least, that's my thoughts for now. I don't know if I'll get around
to it though, (we'll have to see if I get annoyed into doing that work
like I got annoyed into this first project).
> "git help init" would give man page. The time when the short
> help is given is when you mistype options, as in:
>
> $ git init --huh?
Oh, and that's *really* short output. Just a summary of the
command-line options and no description. If you look at "hg help" it
has a middle-ground option which is little more than a brief
description and a very small number of options. I think that's a
useful thing to consider for "git help". Or, perhaps just carefully
construct the man page so that this most important information is
first. See "git help clone" for example which does have a better order
than "git help init" in my opinion.
Meanwhile, "git init --huh?" is totally appropriate in just printing
usage information. That's really all you want to see if you
forget the exact name of a particular command-line option.
Trying a couple of random examples though, git could be better in some
cases:
$ git log --pretty=complete
fatal: invalid --pretty format: complete
That's a fairly specific error message, but no information on what I
might have meant to say. A fix should be be quite simple, (presumably
there's a list of --pretty options it just looped through and it might
as well print them out).
$ git log --format=fuller
fatal: unrecognized argument: --format=fuller
There's no usage given in this case at all. It should print some usage
statement, hopefully containing --pretty. Admittedly, this one is
*really* hard to fix entirely since there is a ridiculously large
number of possible options to a command like "git log". But a summary
of the most common stuff should still help.
Thanks for the various typo fixes. I've implemented those, (and the
things submitted by others). There were some particularly bad markup
problems where "git commit <file>" was being misinterpreted and
presented as "git commit" which was fairly disastrous for my intended
meaning.
Hopefully it's much better now.
-Carl
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-09-30 3:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 23:07 A tour of git: the basics (and notes on some unfriendly messages) Carl Worth
2007-09-29 0:00 ` Shawn O. Pearce
2007-09-29 0:49 ` Johannes Schindelin
2007-09-29 7:44 ` Steffen Prohaska
2007-09-29 15:06 ` Johannes Schindelin
2007-09-29 16:06 ` Steffen Prohaska
2007-09-29 16:05 ` [PATCH] WinGit: included /bin/start in the installer Steffen Prohaska
2007-09-29 16:05 ` [PATCH] WinGit: include html pages from official git.git's html branch Steffen Prohaska
2007-09-29 20:50 ` Johannes Schindelin
2007-09-29 22:13 ` Junio C Hamano
2007-09-29 23:23 ` Johannes Schindelin
2007-09-30 8:19 ` Steffen Prohaska
2007-09-29 9:01 ` A tour of git: the basics (and notes on some unfriendly messages) Pierre Habouzit
2007-09-29 10:45 ` [RFC] patch series to sketch a less verbose and frightening output Pierre Habouzit
2007-09-29 10:49 ` Pierre Habouzit
[not found] ` <1191062758-30631-2-git-send-email-madcoder@debian.org>
2007-09-29 14:33 ` [PATCH 1/4] Rework progress module so that it uses less screen lines, with progress bars Nicolas Pitre
2007-09-29 16:07 ` Pierre Habouzit
2007-09-30 12:45 ` A tour of git: the basics (and notes on some unfriendly messages) Wincent Colaiuta
2007-09-30 13:49 ` Pierre Habouzit
2007-09-30 14:31 ` Wincent Colaiuta
2007-09-29 21:48 ` Steffen Prohaska
2007-09-29 22:25 ` Junio C Hamano
2007-09-30 8:15 ` Steffen Prohaska
2007-09-30 10:17 ` Junio C Hamano
2007-09-30 12:44 ` Johannes Schindelin
2007-09-30 13:41 ` Steffen Prohaska
2007-09-29 0:45 ` Junio C Hamano
2007-09-30 3:38 ` Carl Worth
2007-09-30 3:38 ` Carl Worth [this message]
2007-09-29 5:32 ` Nguyen Thai Ngoc Duy
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bqbkstyq.wl%cworth@cworth.org \
--to=cworth@cworth.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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.
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 NNTP newsgroup(s).