Hands-on lab BrokenCluster

Block Commits with a pre-commit Hook

Write a hook that refuses commits whose staged files contain a do-not-commit marker.

Gitmedium 9 minPro
Start the lab
Block Commits with a pre-commit Hook (embedded) · BrokenCluster