What is a good toy example to teach version control?

Posted by janos on Programmers See other posts from Programmers or by janos
Published on 2012-07-16T08:07:56Z Indexed on 2012/09/29 15:52 UTC
Read the original article Hit count: 299

I am looking for practical examples to use when teaching version control.

Breaking down the material to basic concepts and providing examples is an obvious way to teach version control, but this can be very boring, unless the examples are really practical or interesting.

One idea I have is customizing a wordpress theme. I use wordpress a lot and no theme is ever perfect, so I typically just put the theme directory in version control using any dvcs and start recording changes.

The problem with this example is that not many people in the audience may be familiar with wordpress, let alone have shell access to a wordpress site to try out the commands. Preparing a mock site and giving access to everyone is also not an option for me. I need a "toy example" that can be interesting to a broad audience of software developers, and something they can try on their own computers. The tutorial will use a dvcs, but the practical example I'm looking for is only to teach the basic features of version control, ignoring the distributed features for the moment. (Now that I think of it, instead of a mock site, a customized live cd might do the trick...)

Any better ideas?

© Programmers or respective owner

Related posts about learning

Related posts about version-control