
Git Reset: Delete Commit in Soft, Mixed, or the Hard Way
Hey, Tea Lover! Today’s post is about how you can reset the changes in Git. We will be talking about the different types of resets in git. It will be a small how-to guide on using the git reset command. We can either fully roll back the changes, or we can simply discard the latest commit(s). Let us jump to it right away. When To Use Git Reset Git reset is used for discarding your changes. You may want to do this for multiple reasons. One can be you don’t need those changes anymore or there was conflict and you did some mistake while resolving it, don’t worry To err is human. ...