The Angular Tutorial shows the technique in action. The experience for the tutorial follower is:
- First, clone the repository.
- Next, check out step 1 to get the repo into the appropriate state.
- Then follow the instructions for step 1 in the tutorial.
- Next, check out step 2.
- Follow the instruction for step 2.
- Continue.
The terminal commands to begin the Angular Tutorial are:
git clone git://github.com/angular/angular-phonecat.git
cd angular-phonecat
git checkout -f step-0
What's great about this is that you skip straight to any step you want and start from there.
How does one go about designing this type of tutorial experience? What are some best practices for this method? Is it possible to go back and edit a particular step without affecting others that come before or after it?