git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git tutorial
@ 2008-05-21 16:42 Ian Katz
  2008-05-22  9:35 ` Johannes Schindelin
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Katz @ 2008-05-21 16:42 UTC (permalink / raw)
  To: git

Hi Guys-

I have a suggestion/request for the git documentation (tutorial),
currently accessible from:
http://www.kernel.org/pub/software/scm/git/docs/tutorial.html

It would be much easier to understand the "Using git for
collaboration" section if you put the username (bob or alice) as a
prefix to each of the example command prompts, as is common in most
linux distributions.  This would make it easier to see at a glance who
is doing what.

In other words, it would change from this:
$ git clone /home/alice/project myrepo
$ git pull /home/bob/myrepo master

to this:
bob$ git clone /home/alice/project myrepo
alice$ git pull /home/bob/myrepo master

In the tutorial's current form, I spent so much time looking back into
the paragraph text to find out who was typing each command that I
eventually printed it out so I could scribble their names on each one.

I hope this change isn't a big deal.

Thanks,
-Ian

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git tutorial
  2008-05-21 16:42 git tutorial Ian Katz
@ 2008-05-22  9:35 ` Johannes Schindelin
  0 siblings, 0 replies; 2+ messages in thread
From: Johannes Schindelin @ 2008-05-22  9:35 UTC (permalink / raw)
  To: Ian Katz; +Cc: git

Hi,

On Wed, 21 May 2008, Ian Katz wrote:

> I have a suggestion/request for the git documentation (tutorial),
> currently accessible from:
> http://www.kernel.org/pub/software/scm/git/docs/tutorial.html
> 
> It would be much easier to understand the "Using git for
> collaboration" section if you put the username (bob or alice) as a
> prefix to each of the example command prompts, as is common in most
> linux distributions.  This would make it easier to see at a glance who
> is doing what.
> 
> In other words, it would change from this:
> $ git clone /home/alice/project myrepo
> $ git pull /home/bob/myrepo master
> 
> to this:
> bob$ git clone /home/alice/project myrepo
> alice$ git pull /home/bob/myrepo master
> 
> In the tutorial's current form, I spent so much time looking back into
> the paragraph text to find out who was typing each command that I
> eventually printed it out so I could scribble their names on each one.

This is a good change, yes.

> I hope this change isn't a big deal.

Hey, why don't you give it a try?

Just

Ian$ git clone git://git.kernel.org/pub/scm/git/git.git
Ian$ cd git
Ian$ $EDITOR Documentation/tutorial.txt
	# make the suggested changes

Ian$ git config user.name "Ian Katz"
Ian$ git config user.email ifreecarve@gmail.com
Ian$ git commit -s Documentation/tutorial.txt
	# write a nice oneline description, such as
	#    tutorial: prefix the prompts with the names "alice" or "bob"
	# then an empty line and then a paragraph as to why you like this
	# change

Ian$ git format-patch -1
	# then send the file 0001-*.patch, but inline, please

Hmm?

Ciao,
Dscho

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-22  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-21 16:42 git tutorial Ian Katz
2008-05-22  9:35 ` Johannes Schindelin

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).