3min chapter

Fragmented - Android Developer Podcast cover image

197: .git internals with Gordon 🔧

Fragmented - Android Developer Podcast

CHAPTER

How Does Reset Hard Origin Master Work?

If i did out ten comits before, and i wanted to stay there, then i would have to reposition the head of that branch to point to and minus ten comit. So all you need to do in that case is say, get reset hard, and then the name of the branch. And nothing is lost in get a. It's been committed up until its garbage collected or when nothing points to it any more for some duration of time. Or you say, you know, please prune it.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode