Shell/Bash: revert local commit git bash Example
Shell/Bash Example: This is the "revert local commit git bash" Example. compiled from many sources on the internet by SimpleTutorials.org
git undo last commit
$ git reset --soft HEAD~1
undo local commit
$ git reset --soft HEAD~1
revert local commit git bash
git reset --soft HEAD~1
revert local commit
$ git reset --hard HEAD~1
undo last commit
git reset --hard HEAD~1
revert git commit
git revert
* Summary: This "revert local commit git bash" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!