Re: git blame
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Nov 30, 2006, 22:53 UTC
- Message-ID
- <Pine.LNX.4.63.0611302350510.30004@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v64cwh86r.fsf@assigned-by-dhcp.cox.net>
Hi,
On Thu, 30 Nov 2006, Junio C Hamano wrote:
Show 14 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Thu, 30 Nov 2006, Carl Worth wrote: > > > >> Here's a crazy idea. How about a "git tutorial" builtin or "git example" > >> or something that would create a repository into some useful state for > >> demonstrating something. > > > > That sounds fine! Actually, it should be very simple to turn the tutorial > > into such a script, displaying the command with an explanation, and > > executing the command. It could even call gitk from time to time, so the > > user can form a mental model of the ancestor graph. > > Doesn't one of our existing t/ scripts do that?
;-) I did not forget... t1200-tutorial.sh
But it serves a different purpose: it makes sure that we did not break the commands in the tutorial. (I fear that the script and the tutorial have diverged a little bit, though).
git-tutorial should not test that, rather it should show the user what is possible, and encourage playing with git.
Ciao, Dscho