📌  相关文章
📜  致命:无法将 HEAD 解析为有效参考. - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.805000             🧑  作者: Mango

代码示例1
#Do following to solve "Failed to resolve HEAD as a valid ref." issue.
1-Clone your same project in another different folder.
2-Copy the (hidden) .git folder of the cloned project.
3-Replace the .git folder of the original project with the one copied.
Problem solved! ;)