threads / discuss / 2124

Scribblings for a cogito/git tutorial

Subject: Scribblings for a cogito/git tutorial

## tl;dr

3 messages between Oct 17, 2005 and Oct 21, 2005.

replies: 2people: 3as markdown or json

Horst von Brand· Oct 17, 2005, 15:04 UTC · lore

I've also been asked around here for a cogito+git tutorial, to that end I've made up a script that simulates several developers interacting. Hacking around is simulated by patching, ed(1) scripts (merges don't turn out the same diff every time), and plain copying new files in. I've set up a GPG key with an empty passphrase (comment is "Experimental") to have signed tags, etc. in a convenient manner. The idea is to create interesting histories (for browsing) and show off the commands in a compact way. If only there was a convenient way to run a strech of the (bash) script, look at the results, and then resume...

Comments, suggestions, patches are welcome! 

Repository of the script and supporting files is at <http://pincoya.inf.utfsm.cl/Script.git>

-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513
David Whistler· Oct 18, 2005, 02:28 UTC · re: Horst von Brand · lore

Re: Scribblings for a cogito/git tutorial

Horst von Brand <vonbrand <at> inf.utfsm.cl> writes:
Show 5 quoted lines
> 
> Comments, suggestions, patches are welcome! 
> 
> Repository of the script and supporting files is at
> <http://pincoya.inf.utfsm.cl/Script.git>
I can't read it.  Seems to be a recursive trick.
Or did you mean to do that?
-d
Petr Baudis· Oct 21, 2005, 20:51 UTC · re: Horst von Brand · lore

Re: Scribblings for a cogito/git tutorial

Dear diary, on Mon, Oct 17, 2005 at 05:04:54PM CEST, I got a letter where Horst von Brand <vonbrand@inf.utfsm.cl> told me that...

Show 14 quoted lines
> I've also been asked around here for a cogito+git tutorial, to that end
> I've made up a script that simulates several developers interacting.
> Hacking around is simulated by patching, ed(1) scripts (merges don't turn
> out the same diff every time), and plain copying new files in. I've set up
> a GPG key with an empty passphrase (comment is "Experimental") to have
> signed tags, etc. in a convenient manner. The idea is to create interesting
> histories (for browsing) and show off the commands in a compact way. If
> only there was a convenient way to run a strech of the (bash) script, look
> at the results, and then resume...
> 
> Comments, suggestions, patches are welcome! 
> 
> Repository of the script and supporting files is at
> <http://pincoya.inf.utfsm.cl/Script.git>

Thanks, it's very nice! If you don't mind (actually, is it / can it be GPL?), I added it to Cogito as Documentation/tutorial-script/ .

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.

← back to recent threads