Viewing the logs
$ git log --onelineReverting the commits
01: git revert 123abcd
02: git revert abc1234Doing it all together
01: git revert --no-commit HEAD~2..HEAD
02: git commit -m "Revert back to dfg4567" Here is another article you might like π GIT | How To Ignore The Contents Of A Folder But Not The Folder Itself