Interview Prep/CI/CD/Rapid-Fire Commands

Rapid-fire: Git commands pipelines depend on (tags, describe, diff, shallow fetch).

BeginnerProductionRapid-Fire Commands
Answer
git rev-parse --short=8 HEAD
git describe --tags --always --dirty
git diff --name-only origin/main...HEAD       # changed files for path-based logic
git fetch --unshallow --tags                  # when full history is needed
git tag -a v1.7.0 -m "Release 1.7.0" && git push origin v1.7.0
git log --pretty=format:'%h %s' v1.6.0..v1.7.0
All CI/CD questions

More on Rapid-Fire Commands