最终找回方法:
1. git reflog:可以查看所有分支的所有操作记录,复制误删分支的最后一次commit_id
2. git branch newbranch commit_id 在commit_id基础上建新分支newbranch
3. 切换到newbranch分支,检查文件是否存在。
本地仓库.git
attempted to return null from a method with a primitive return type (int).
版权声明:本文为tec_1535原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。