git checkout 切换分支时提示you need to resolve your current index first 控制台输入命令:git reset --merge 后再 git checkout [branchName]切换分支 就👌 更多项目中git常用命令