1.6 Tracking Milestones with Tags

As projects progress, they hit milestones. Maybe you follow an agile methodology and have weekly development cycles where some new feature is added every week, or maybe you’re on a traditional cycle where updates are released every few months.

Either way, you need to keep track of what state your repository was in when you passed that milestone. Tags give us the tool to do that. They mark a certain point in the history of the repository so you can easily reference them later.

A tag is simply a name that you can use to mark some specific point in the repository’s history. It can be a major milestone such as a public release or something much more routine like the point at which a bug was fixed in your repository. ...

Get Pragmatic Version Control Using Git now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.