How To Revert the Last git Commit
erics, Posted July 9th, 2020 at 4:51:21pm
shell$ git log | head -1
commit a203e1bd04718bff10a3df4a3389c493c97c0432
Use the commit string as the last argument to the git revert command:
shell$ git revert -m 1 a203e1bd04718bff10a3df4a3389c493c97c0432
Categories: 
Leave Your Comment
All fields marked with "*" are required.