Checkout old git revision and then jump back to current revision

March 24, 2022

  • checkout the git revision of a specific commit
git checkout <sha256>
git checkout main