Coding Blocks cover image

Git from the Bottom Up – Commits

Coding Blocks

CHAPTER

How to Reset Hard Heads in a Repository?

An outlaw uses get reset hard heads to erase all changes in the working tree. He could have technically already made five new commits, and he's going to undo that by going back to a very specific one. Youn't at te type as much as it makes it unique. "It sort of cleans everything up for you"

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner