Git: Revert to Old Version
Revert a file to a commit id
git checkout commitID -- filename
the id is Commit ID
Revert whole dir to a commit id
git checkout commitID -- dirname
git checkout commitID -- filename
the id is Commit ID
git checkout commitID -- dirname