刪除本地分支 dev1.git checkout master2. git branch -d dev刪除遠程分支dev1.git checkout2.git push origin :devgit push origin[空格][冒號][分支名稱]