一.git checkout //查看当前分支$ git branch master *t2 testing //checkout会覆盖当前工作区文件和覆盖暂存区内容,所以发现分支有未提交的警告,执行git checkout master -f,强制切换后分支没提交的修改会掉失.$ git checkout master error: Your local changes to the following files would be overwritten by checkout: team/