Fix your wrong commit
Did you make a wrong commit, did you miss a word or didn't like the commit?
Calm down, you can solve it!
Error and solutions:
Wrote the message of the last commit wrong? Use this:
git commit --amend -m "New message"
Did you commit and forget about a change or add a file? Use this:
git add <archive>
git commit --amend --no-edit
Did you do everything wrong in the last commit and need to undo it, then redo it? Use this:
git reset --soft HEAD-1
Did you commit and give up the change and want to throw it away? Use this:
git reset --hard HEAD-1
Author of this Readme: