Do these commits still exist in the repo?

Google for Developers · Beginner ·💻 AI-Assisted Coding ·3h ago
A quick Git brain teaser. We start with five commits on main, then run git reset --hard HEAD~3. Now, the log shows only two commits as expected. Afterwards, you realize that you actually need them. The question: is it possible to get them back? If so, how? Watch the video and share your answer. Subscribe to Google for Developers → https://goo.gle/developers Speakers: Rody Davis
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

Up next
CLAUDE Design in Tamil in 30 Minutes (5 Real Use Cases 🤯)
AI Coach John (Tamil)
Watch →