|
|
|
|
|
by caipre
4465 days ago
|
|
I've had this thought as well. I would love to see Github add support for a previous/next button when viewing a commit to make the experience seamless. The trouble is, for many projects claiming to start from scratch, the "Initial commit" includes hundreds or thousands of lines of code. The practicality of learning this way is very much dependent on the author/committer making digestible, incremental commits and maintaining a linear history. |
|
Besides the benefits to readers in having git diffs available and being able to "skip steps" by replaying history, it made the tutorial much easier to keep up to date because it was working code.
I used stacked git[2] to make it easy to arbitrarily edit the git history.
compare the tutorial history[3] with the real history[4]
[1]: http://hobocentral.net/tutorials/agility [2]: http://www.procode.org/stgit/ [3]: https://github.com/Hobo/agility-gitorial [4]: https://github.com/Hobo/agility-gitorial-patches