Instructions to manually reset your index and work tree to a specific commit without changing HEAD in Git. Be sure to write a descriptive commit message.
git checkout SHA .git commit