git премахва записа преди натискане на
# Removes latest commit from the stash, KEEPS changes
git reset --soft HEAD~
# Removes latest commit from the stash, DELETES changes
git reset --hard HEAD~
отмени поемане на git след натискане на
git reset <hash> # Run this then merge, commit, and push
отмени поемане на git преди натискане на
git reset HEAD~