Learn to mark important points in your repository's history with tags. Master semantic versioning and create releases for your projects.
Set up a repository with some commits representing a project's evolution.
mkdir -p ~/git-practice/lesson-304
cd ~/git-practice/lesson-304
git init
echo "# API Server" > README.md
echo "const express = require('express');" > server.js
git add .
git commit -m "Initial commit: Set up project structure"
Tags are typically used to mark release points in your project (v1.0.0, v2.0.0, etc.). We'll simulate a project that evolves through multiple versions.
Repository initialized with initial project files.