Interview Prep/Git & GitHub/Rapid-fire commands

Find the commit that was HEAD of main on a given date.

IntermediateProductionRapid-fire commands
Answer
git rev-list -1 --before="2026-10-01 00:00" origin/main
All Git & GitHub questions Roadmap: Git & GitHub

More on Rapid-fire commands