之前没注意git在2.23版本2019年推出了switch,虽然我们idea上也可以直接切,不过新特性还是可以记录下,不用checkout了,checkout功能更全
git branch查看本地分支
git branch -r显示远程分支,git branch -a则列出所有本地和远程分支
git branch -r
git branch -a
git switch 分支切换