
197: .git internals with Gordon đź”§
Fragmented - Android Developer Podcast
00:00
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.
Transcript
Play full episode