在 IDEA 的左下角,点击 Git,然后点击 Log 查看版本
    image.png
    右键选择要切换的版本,然后在菜单里点击 Checkout Revision。
    image.png