Warning: This will delete the local files that are not indexed git checkout -f another-branch another-branch是你想要切换的分支