进入项目根目录,右击,选择Git Base Here
,执行下面命令:
此命令是更新远程分支
git remote update origin --prune
然后执行切换分支:
// develop改为你要切换的分支名称
git checkout develop
去看看自己的idea,分支已经切换成功了
进入项目根目录,右击,选择Git Base Here
,执行下面命令:
此命令是更新远程分支
git remote update origin --prune
然后执行切换分支:
// develop改为你要切换的分支名称
git checkout develop
去看看自己的idea,分支已经切换成功了