git reset --soft HEAD~1
$ git reset --soft HEAD~1
$ git reset --hard HEAD~1
git reset <commitId> # Exemple git reset 5310517