how to revert to log in git
git revert --no-commit 0766c053..HEAD git commit
Source: stackoverflow.com
git go back one commit
#You need to be careful with going back a commit, you could reset your #branch and loose all of your work. #safe option: git checkout <commit-id>
Source: stackoverflow.com
git go back a commit
# as the best wat to revert back 3 commits git revert HEAD~3 git restore #to restore files from commit