Too Long; Didn't Read
<em>Reset is probably one of the least understood </em><a href="https://hackernoon.com/tagged/git" target="_blank"><em>git</em></a><em> commands with the addition of having a bad reputation for being dangerous. There is a valid reason for both of these claims: yes, the reset </em><a href="https://hackernoon.com/tagged/command" target="_blank"><em>command</em></a><em> is a bit harder to understand and in some cases, it can be dangerous. But, it is not all that hard. So in this post, I will give my best to present you with a clear and distilled tutorial to the reset command. To make it short and not too overwhelming I have abstracted the non-essential details and simplified some things, but if you want to know more on git’s internal workings you can also check my </em><a href="https://hackernoon.com/https-medium-com-zspajich-understanding-git-data-model-95eb16cc99f5" target="_blank"><em>Understanding Git</em></a><em> series for more details of some stuff presented here.</em>