Revert all file changes of a commit
Use the Git log to view the commit history:
Finally, we will retrieve the commit you want to revert and issue the command git revert:
All changes to the files of the above commit will be reverted back to the original file.
Limit git revert as much as possible.
Categories: Learn programming