Reset --hard your fears
By konrad 126
Reset --hard your fears
Many developers have a fear of git reset command because of its reputation for being dangerous. While it is true that the reset command can be dangerous and cause you to lose your changes like tears in the rain, as it is with many fears, it's mostly based on a lack of understanding. So let's give your fear of the reset command an antidote - a proper understanding of how git reset works