计算机知识分享网

【git】git推送push代码提示HEAD错误信息解决

git推送项目时报错如下
 bad object refs/remotes/origin/HEAD
我们只需要把这个目录删除或者移除即可
$ mv .git/refs/remotes/origin/HEAD /tmp
(keeping it around just in case) and then

#Git