I am planning a sequence of lessons on how to create a web application using a demo application and create it from scratch.
I would like to use git for 1) the demo code of the demo application and 2) for the git commit team to help find students.
Each lesson is a small step in creating a web application. I would like each lesson to correspond to one git declaration, where the student could see exactly what code was changed in the lesson by looking at the lesson's commit on GitHub.
That I'm not sure how to do this and make it supported, so the commit history is always in the sequence of lessons. Or is there an alternative technique commonly used for this that I don't know about (e.g. using branches / tags / patches)? My main concerns:
- Corrections and updates to the lessons / commits and the provision of these changes appear during subsequent commits
- Dependency updates such as third-party JavaScript libraries in any of the commits
- Keeping the commit history in order so that each commit is equal to one lesson and appears in sequence. If the first commit / lesson is updated much later, after it was originally completed, it should still be the first record in the commit log.
Guide, suggestions, feedback and improvements are welcome, thanks in advance!
source share