Use and Compare the Different git Reset Options: --hard, --soft, and --mixed

InstructorChris Achard

Share this video with your friends

Send Tweet

git reset has three primary options that we might use: --soft, --hard and --mixed (the default).

We'll use git reset to undo the latest commit in all three ways, and compare the result of reseting with each flag.