Lesson 24 / 26

blame, show & Tags

Find who wrote a line, inspect one commit, and mark release points.

git blame

Shows which commit and author last touched every line of a file — great for tracking down the origin of a bug.

git blame utils.py

Output:

a1b2c3d (Ada Lovelace 2026-08-12) def calculate_total():

git show

Inspect exactly what one commit changed.

git show a1b2c3d

Tagging releases

An annotated tag marks a specific commit as a release point, with its own message and metadata.

git tag -a v1.0.0 -m "First stable release"
git push origin v1.0.0