From: Carl Worth <cworth@cworth.org>
To: git@vger.kernel.org
Subject: A tour of git: the basics (and notes on some unfriendly messages)
Date: Fri, 28 Sep 2007 16:07:25 -0700 [thread overview]
Message-ID: <87ir5us82a.wl%cworth@cworth.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 3109 bytes --]
I recently "ported" the introductory chapter of Bryan O’Sullivan's
Distributed revision control with Mercurial[1] from mercurial to
git. The result is here:
A tour of git: the basics
http://cworth.org/hgbook-git/tour/
I did this as an attempt to demonstrate that git and mercurial are
fundamentally equally "easy to learn", and definitely not as an effort
to try to leech Bryan's hard work, (nor would I even want to encourage
that kind of thing). More of my rationale is available here:
Git is easy to learn
http://cworth.org/hgbook-git/
I have two reasons for sharing this with the list. First, I'd
appreciate any feedback that the knowledgable readers on this list
might have. If anything could be made more clear, or if I have factual
mistakes in the text, I'd definitely like to fix those. Please let me
know.
Second, the process of porting the document highlighted a few issues
in git that I think would be nice to fix. I only noticed fairly
cosmetic issues, but I included them as XXX comments in the text. I'll
share them here as well: (all of these are with git 1.5.3.2).
* Is "git help" actually a builtin thing or just a way to call out to
"man"? Does it work at all in Windows ports of git, for example?
(OK, so that one's just a question, not an issue it git)
* Would it make sense to put much smaller amounts of text into "git
help" than the entire man page? For example, maybe just the
description and the most common options or maybe an example? Maybe
do something like "git -v help" for more details? See my text for
more on this, or compare "git help init" to "hg help init" and "hg
-v help init".
* The output from a git-clone operating locally is really confusing:
$ git clone hello hello-clone
Initialized empty Git repository in /tmp/hello-clone/.git/
0 blocks
Empty? Didn't I just clone it? What does "0 blocks" mean?
* git-log by default displays "Date" that is the author date, but
also only uses committer date for options such as --since. This is
confusing.
* It would be nice if all short-format options, (like "git log -p"), were
also available in a long-format option, (like "git log --patch").
* There's a ton of extraneous output from git-fetch. I would love to
see it reduced to a single-line progress bar, (even if a
multiple-staged progress bar). I'm imagining a final line
something like:
Computing (100%) Transferring (100%)
But you can imagine more accurate words than those, (I'm not even
sure what all of the things mean that git-fetch is currently
reporting progress on).
Obviously some of these would be pretty easy, and I should jump into
the git implementation to try them out, but I've just been typing this
stuff as fast as I could, and I'm about to go campout in the rain and
hail now, (fun, fun!), so I wanted to get this out before I forgot
anything.
Thanks in advance for any of your time, attention, or feedback, (and
especially any patches!).
-Carl
[1] http://hgbook.red-bean.com/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-09-28 23:07 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-28 23:07 Carl Worth [this message]
2007-09-29 0:00 ` A tour of git: the basics (and notes on some unfriendly messages) 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
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=87ir5us82a.wl%cworth@cworth.org \
--to=cworth@cworth.org \
--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.
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).