git elimina comite înainte de a împinge
# Removes latest commit from the stash, KEEPS changes
git reset --soft HEAD~
# Removes latest commit from the stash, DELETES changes
git reset --hard HEAD~
anulează comiterea git după apăsare
git reset <hash> # Run this then merge, commit, and push
undo comite git înainte de a împinge
git reset HEAD~