I am trying to customize a version control for a programming tutorial. This proves the problem because there are two different stories:
There is the history of the project created by the manual, available for each chapter, and what the reader will see. If I never planned to change already written chapters of the textbook, I would simply save each chapter as a tag in the history of the project.
Then there is also the history of the textbook itself (not only the text, but also my work on the feigned history of the project). If I find a mistake, I need to go back and fix it in Chapter 1, adding a new commit will not work until the end, because I want to change how the project "appeared" at this stage, i.e. Paste the commit into the project history and move the chapter tag forward.
So far, I’ve been thinking of several possibilities using git branches, where each chapter is a branch that is reinstalled at the beginning of the previous chapter whenever I make changes, the mercury correction queue into which I insert the corrections, or structuring the tutorial around a set of modules, which I could place in subrepositories.
I thought I would ask if anyone had experience with this, and what solutions work, and not.
source share