DEV Community

Discussion on: How And When To Use Git Reset

Collapse
 
glihm profile image
glihm

Thanks for this article @Charlotte, I want to underline that for your soft example, git rebase is also a very good choice.

Collapse
 
char_bone profile image
Charlotte

Thank you :) rebasing definitely is an option but reset works differently. Reset is much simpler if you just want to go to an earlier commit and forget about the commits after it.