Git January 7, 2021 Revert single files that you just committed. git checkout HEAD~1 -- <path1> <path2>