小编yha*_*han的帖子

Git推送失败:无法将特定文件推送到远程仓库

我有一个git服务器(CentOS 6.5上的git 1.7.1)正常运行一年,
而git clone/ pull/ push通过https工作就像一个魅力.
但今天,当我尝试将此文件推送到我的服务器时,它失败并显示以下错误消息:

Counting objects: 17, done.  
Delta compression using up to 4 threads.  
Compressing objects: 100% (7/7), done.  
Writing objects: 100% (7/7), 11.33 KiB | 0 bytes/s, done.  
Total 7 (delta 4), reused 0 (delta 0)  
fatal: protocol error: bad line length character: < HTM    
fatal: The remote end hung up unexpectedly  
fatal: The remote end hung up unexpectedly  
git did not exit cleanly (exit code 128) (13370 …
Run Code Online (Sandbox Code Playgroud)

git git-push

5
推荐指数
1
解决办法
629
查看次数

标签 统计

git ×1

git-push ×1