Mid
From PDF
Version Control
Git & GitHub
What are signed commits (git commit -S), and why use them? Follow:
Short answer: Signed commits ensure authenticity — they’re cryptographically verified with a GPG or SSH key, proving the commit really came from you and wasn’t tampered with. Setup: Generate a GPG key: gpg --full-generate-key
Real-world example (ShopNest)
Prefer clear commits: fix(cart): prevent negative quantities instead of update.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png