Git Basics: How to Reset your local Git repository branch?

added by DotNetKicks
11/7/2016 2:08:34 PM

2 Kicks, 167 Views

Earlier we learnt how to fetch, pull and push the changes. We also learnt how to stash and clean your current working tree. But what if we want to reset the current HEAD to the original state and start from the beginning? Today we are going to discuss how to do this with the 'git reset' command.