提示:Cannot delete branch ‘uat’ checked out at ‘D:/wms-admin’ 无法删除在“D:/wms admin”签出的分支“uat”
当无法删除前所在的分支,需要签出到另一个分支,然后删除所需的分支
git checkout master //切换到主分支。
git branch -d + 名字 //将删除名字分支。
提示:error: The branch ‘uat’ is not fully merged.If you are sure you want to delete it, run ‘git branch -D uat’.
git branch -D + 名字 //将强制删除名字分支
git clone https://gitee.com/gold-spider/atc_frontend5
打开 Git Bash,切换到项目本地仓库位置;
运行命令 git fetch -p
git pull