更新時刪除本地的緩存
刪除本地分支
git branch -d the_local_branch
刪除遠程分支
git push origin :the_remote_branch
在遠程分支被修改之后,其他的機器,直接 git fetch無法得到刪除的消息,會有緩存,需要git fetch -p ( -p --prune 修剪 刪除 )
更新時刪除本地的緩存
刪除本地分支
git branch -d the_local_branch
刪除遠程分支
git push origin :the_remote_branch
在遠程分支被修改之后,其他的機器,直接 git fetch無法得到刪除的消息,會有緩存,需要git fetch -p ( -p --prune 修剪 刪除 )
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。