From: Nicolas Pitre <nico@cam.org>
To: Alan Chandler <alan@chandlerfamily.org.uk>
Cc: git@vger.kernel.org, Carl Worth <cworth@cworth.org>,
Junio C Hamano <junkio@cox.net>
Subject: Re: [PATCH] make 'git add' a first class user friendly interface to the index
Date: Sat, 02 Dec 2006 23:34:18 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.64.0612022323330.2630@xanadu.home> (raw)
In-Reply-To: <200612020828.57989.alan@chandlerfamily.org.uk>
On Sat, 2 Dec 2006, Alan Chandler wrote:
> So I am with you that we need to effective teach
>
> git add <filename> #add content of filename to the SCM
> #edit <filename>
> git commit -a #commit current state of all tracked content
>
> first, and then move on to teach selective commiting
I think that's pretty much what my patch to the tutorial does.
The tutorial talks about:
1) git init-db
2) git add .
3) git commit
4) modifying some files then git diff
5) git commit file1 file2, or git commit -a
Then goes the discussion about what git add does and why. It is quite
early in the tutorial and making it earlier would be a bit premature.
Let's have the user make his first simple commit while blindly
following the instructions before going with the
actual usage model. At that point,since we just mentioned "git commit
file1 file2" or "git commit -a" will the user be in the proper mindset
to wonder why not using plain "git commit"... and incidentally the whole
explanation is there to follow immediately.
I'm reworking my patch with suggestions that have been posted so let's
hope it'll be even clearer.
next prev parent reply other threads:[~2006-12-03 4:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-01 20:06 [PATCH] make 'git add' a first class user friendly interface to the index Nicolas Pitre
2006-12-01 22:31 ` Junio C Hamano
2006-12-02 0:18 ` Alan Chandler
2006-12-02 2:01 ` Nicolas Pitre
2006-12-02 3:05 ` Nicolas Pitre
2006-12-02 6:54 ` Carl Worth
2006-12-02 7:54 ` Junio C Hamano
2006-12-02 9:06 ` Carl Worth
2006-12-02 10:11 ` Jakub Narebski
2006-12-02 14:51 ` Han-Wen Nienhuys
2006-12-02 8:28 ` Alan Chandler
2006-12-02 16:49 ` Carl Worth
2006-12-02 17:12 ` Jakub Narebski
2006-12-02 18:05 ` Alan Chandler
2006-12-03 4:04 ` Nicolas Pitre
2006-12-03 4:22 ` Nicolas Pitre
2006-12-03 4:34 ` Nicolas Pitre [this message]
2006-12-02 9:52 ` Jakub Narebski
2006-12-03 5:03 ` Nicolas Pitre
2006-12-03 5:33 ` [PATCH v2] " Nicolas Pitre
2006-12-03 9:16 ` Alan Chandler
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=Pine.LNX.4.64.0612022323330.2630@xanadu.home \
--to=nico@cam.org \
--cc=alan@chandlerfamily.org.uk \
--cc=cworth@cworth.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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).