一、删除分支的时候必定要切换到其余分支,再执行git
git branch -D <barnchName>
二、新建分支的时候,假如是不一样的需求,想在master的基础上对代码进行修改,必定要切换到master,再执行code
git checkout -b <branchName>