摘要: git 误删了本地和远程分支怎么办 如果要恢复,下面是一种方法,经过本人验证: 1. 获取分支commit id 使用命令: git log -g --grep "XX", XX为分支名 2. get commit id, 然后根据commit id 恢复分支 使用命令: git checkout 阅读全文
posted @ 2021-12-13 16:51 墙边海角 阅读(1094) 评论(0) 推荐(0)