git clone http地址 git checkout -b dev本地分支名 origin/dev远程分支名(拉取远程分支并创建切换到本地改分支) git branch -D dev(删除本地分支)