Git reset is the command that allows you to discard or revise commit history within your repository. Whether you're undoing some changes or re-crafting your commits in a new way, git reset is the appropriate command. We'll also take a look at several of reset's command line options and examine how git checkout performs similar functions.
<a rel="nofollow" class="external text" href="https://vimeo.com/github">GitHub</a>
CC BY 3.0
<a href="//commons.wikimedia.org/wiki/Category:Vimeo" title="Category:Vimeo">Vimeo</a>: <a rel="nofollow" class="external text" href="https://vimeo.com/123119171">Reset• GitHub &amp; Git Foundations</a> (<a rel="nofollow" class="external text" href="//web.archive.org/web/*/https://vimeo.com/123119171"><span style="color:#9602fc">view archived source</span></a>)