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~