DEV Community


Discussion on: Using Git Tags To Version Coding Tutorials

seankilleen profile image
Sean Killeen

Thanks for the article!

I've been going back and forth on my approach and I wonder if you have a preference.

Would you prefer:

  • Making these commits along the master branch and tagging? In this case, when folks first pull the repository, they'll be looking at the final version.
  • Making these commits in branches off of each other (e.g. step-02 is tagged to the latest in a branch that is created off of step-01 which was created off of step-00). This seems like it could be more complex to maintain, but results in those taking the tutorial pulling down the "before" version at first.

Not sure which way to go, and wasn't sure if you or other readers here might have some preferences.

Thanks again!