``` git branch git fetch origin master:temp git diff temp git merge temp git branch -d dev 删除dev分支 ```