切换到已有分支
git switch <branch> 是「分支管理」分类下的常用命令,作用是:切换到已有分支。
git switch <branch>
典型用法如下:git switch main。你可以查看本页上方同组的相关命令,或直接复制到终端运行。
git switch main