git 删除远程和本地分支

RenGuoQiang@PC-RENGUOQIANG MINGW64 /d/zgg/zgg-crm (dev-rgq-userworkstatus)                                                                                                                                                                                                     
$ git push origin --delete dev-rgq-useroffline                                                                                                                                                                                                                                 
To https://git.zhiguagua.com/zgg-crm.git                                                                                                                                                                                                                                       
 - [deleted]           dev-rgq-useroffline                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                                                               
RenGuoQiang@PC-RENGUOQIANG MINGW64 /d/zgg/zgg-crm (dev-rgq-userworkstatus)                                                                                                                                                                                                     
$ git branch -d dev-rgq-useroffline                                                                                                                                                                                                                                            
error: The branch 'dev-rgq-useroffline' is not fully merged.                                                                                                                                                                                                                   
If you are sure you want to delete it, run 'git branch -D dev-rgq-useroffline'.                                                                                                                                                                                                
                                                                                                                                                                                                                                                                               
RenGuoQiang@PC-RENGUOQIANG MINGW64 /d/zgg/zgg-crm (dev-rgq-userworkstatus)                                                                                                                                                                                                     
$ git branch -D dev-rgq-useroffline                                                                                                                                                                                                                                            
Deleted branch dev-rgq-useroffline (was 0c389865).                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                               
RenGuoQiang@PC-RENGUOQIANG MINGW64 /d/zgg/zgg-crm (dev-rgq-userworkstatus)                                                                                                                                                                                                     
$ git branch                                                                                                                                                                                                                                                                   
  dev-rgq                                                                                                                                                                                                                                                                      
* dev-rgq-userworkstatus                                                                                                                                                                                                                                                       
  llw-dev                                                                                                                                                                                                                                                                      
  master
posted @ 2019-10-30 20:20  任国强  阅读(173)  评论(0编辑  收藏  举报