git 操作远程 本地缓存删除

更新时删除本地的缓存

 

删除本地分支

git branch -d the_local_branch

删除远程分支  

git push origin :the_remote_branch

在远程分支被修改之后,其他的机器,直接 git fetch无法得到删除的消息,会有缓存,需要git fetch -p ( -p --prune 修剪 删除 )
posted @ 2016-05-03 10:23  bodhicitta  阅读(2615)  评论(0编辑  收藏  举报