git réinitialiser pour s'engager
# reset to specefic commit
git reset --hard <commit id>
# to go back one step
git reset --hard HEAD~1
# note: use --soft to keep file changes
Fahim Foysal