git 中 出现your current branch appears to be broken错误
1.找到最后一次的commit-id
查找 .git/logs/refs/heads/分支名, 打开这个文件找到最后一次 commit 的 commit-id
2.修复记录文件
将找的的commit-id复制到./git/refs/heads/分支名 文件中
1.找到最后一次的commit-id
查找 .git/logs/refs/heads/分支名, 打开这个文件找到最后一次 commit 的 commit-id
2.修复记录文件
将找的的commit-id复制到./git/refs/heads/分支名 文件中