GitBlit中出现 error: remote unpack failed: error Missing tree
clu@WASYGSHA01-1020 MINGW64 /d/ChuckLu/Git/Edenred/LISA_5.0.0.0 (local)
$ git push origin preaction:preaction
Counting objects: 3717, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1631/1631), done.
Writing objects: 100% (3717/3717), 779.13 KiB | 5.19 MiB/s, done.
Total 3717 (delta 3063), reused 2480 (delta 2019)
remote: Resolving deltas: 100% (3063/3063)
error: remote unpack failed: error Missing tree eb96e0534e08fe512113b25a99d783278e04e8b1
To http://172.31.212.149:8080/r/LISA/LISA_5.0.0.0.git
! [remote rejected] preaction -> preaction (n/a (unpacker error))
error: failed to push some refs to 'http://clu@172.31.212.149:8080/r/LISA/LISA_5.0.0.0.git'
clu@WASYGSHA01-1020 MINGW64 /d/ChuckLu/Git/Edenred/LISA_5.0.0.0 (local)
$ git show eb96e05
tree eb96e05
App_Browsers/
App_Code/
App_Data/
App_Themes/
CMSAdminControls/
CMSDesk/
CMSEdit/
CMSFormControls/
CMSHelp/
CMSInlineControls/
CMSMasterPages/
CMSMessages/
CMSModules/
CMSPages/
CMSResources/
CMSScripts/
CMSSiteManager/
CMSTemplates/
CMSWebParts/
Chile/
ClientBin/
ConstantFile/
Default.aspx
Default.aspx.cs
Global.asax
Holcim/
Images/
LISA.CMSWeb.50.wpp.targets
Nestle/
RESTService.svc
Remoting.config
SamSung/
Scripts/
Views/
clientaccesspolicy.xml
en-US/
favicon.ico
jQueryCarousel/
parameters.config
web.config
website.publishproj
wse3policy.config
clu@WASYGSHA01-1020 MINGW64 /d/ChuckLu/Git/Edenred/LISA_5.0.0.0 (local)
$ git push --no-thin origin preaction:preaction
Counting objects: 3717, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1631/1631), done.
Writing objects: 100% (3717/3717), 779.13 KiB | 4.99 MiB/s, done.
Total 3717 (delta 3063), reused 2480 (delta 2019)
remote: Resolving deltas: 100% (3063/3063)
error: remote unpack failed: error Missing tree eb96e0534e08fe512113b25a99d783278e04e8b1
To http://172.31.212.149:8080/r/LISA/LISA_5.0.0.0.git
! [remote rejected] preaction -> preaction (n/a (unpacker error))
error: failed to push some refs to 'http://clu@172.31.212.149:8080/r/LISA/LISA_5.0.0.0.git'
解决方案:
https://github.com/gitblit/gitblit/issues/704
https://github.com/gitblit/gitblit/issues/989
push failed for branch (n/a (unpacker error))
This is a bug in JGit (issue 408). TLDR: Newer git clients are optimized to send less data on the wire. JGit expects complete data to be sent, but there are scenarios where native git can optimize-out sending objects. By default, JGit requires everything sent be complete and referenceable.
If you experience this, the workaround is to temporarily disable the reachable check for the receive pack, push, and then re-enable the setting.
git.checkReferencedObjectsAreReachable = false
在GitBlit的服务端配置中添加上面的代码,就可以确保push成功。
等到push成功之后,再注释这段配置,使用#注释,以便下一次需要的时候再开启。
GitBlit中出现 error: remote unpack failed: error Missing tree的更多相关文章
- Git review :error: unpack failed: error Missing tree
环境 git version 1.9.1 Gerrit Code Review (2.11.3) 1 2 现象 修改后调用 git review可以提交到Gerrit上,然后只要一用 git comm ...
- gerrit代码审核工具之“error unpack failed error Missing unknown”错误解决思路
使用gerrit代码审核工具时遇到error: unpack failed: error Missing unknown d6d7c89bd1d77f44c5c8e99437aaffbfc0684e7 ...
- error: unpack failed: error Missing tree
最近新建一个仓库,push时遇到如下问题,试了好多方法,最后在stackoverflow上找到解决办法了,可是在开始时就试过这方法,但不成.至于为嘛出现的这种错误,还是不明白原因. git.exe p ...
- gerrit error: unpack failed: error Permission denied
gerrit服务器迁移后,clone和pull代码到本地,都没问题. 但是,push时,报错: 查看了下git版本库存储目录,发现git下版本库镜像文件owner都是root.因为之前安装的gerri ...
- cacti-不出图形,cacti.log中出“ERROR: SQL Assoc Failed!
[root@CactiEZ log]# tail cacti.log 2016年04月06日 14:53:16 PM - CMDPHP: Poller[0] ERROR: SQL Cell Faile ...
- 使用PHPMailer 中的报错解决 "Connection failed. Error #2: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:"
PHPMailer项目地址:https://github.com/PHPMailer/PHPMailer 项目中用到PHPMailer,使用过程中报错:"Connection failed. ...
- error launching remote program failed to get the task for process
Error Starting executable: error launching remote program failed to get the task for process 715 这个 ...
- idea中解决Error:java: Compilation failed: internal java compiler error的问题
项目中,使用gradle做项目构建,当我们想更改JDK的版本时,报以下错误: Information:Using javac 1.8.0_111 to compile java sourcesInfo ...
- linux中启动网卡报错:Bringing up interface eth1: Error: Connection activation failed
在重启linux网络服务的时候提示: Active connection path: /org/freedesktop/NetworkManager/ActiveConnection/2 并且产生报错 ...
随机推荐
- HDFS 文件格式——SequenceFile RCFile
 HDFS块内行存储的例子  HDFS块内列存储的例子  HDFS块内RCFile方式存储的例子
- poj--3207--Ikki's Story IV - Panda's Trick(2-sat)
Ikki's Story IV - Panda's Trick Time Limit: 1000MS Memory Limit: 131072KB 64bit IO Format: %I64d ...
- Node.js:连接 MongoDB
ylbtech-Node.js:连接 MongoDB 1.返回顶部 1. Node.js 连接 MongoDB MongoDB是一种文档导向数据库管理系统,由C++撰写而成. 本章节我们将为大家介绍如 ...
- Node.js:连接 MySQL
ylbtech-Node.js:连接 MySQL 1.返回顶部 1. Node.js 连接 MySQL 本章节我们将为大家介绍如何使用 Node.js 来连接 MySQL,并对数据库进行操作. 如果你 ...
- 比较不错的spring学习博客
http://blog.csdn.net/tangl_99/article/details/1176141
- 视图 Model转集合
@{ Layout = null;}@using MvcApplication2.Models <!DOCTYPE html> <html><head> ...
- 关于 Visual Studio 中文提示的问题
[转自 https://blog.csdn.net/iloli/article/details/51055299] [转自 http://www.cnblogs.com/hellowin/p/6383 ...
- Error:Execution failed for task ':app:processDebugManifest'. 合并冲突
1. Error:Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : Attrib ...
- HDU 2199 Can you solve this equation?【二分查找】
解题思路:给出一个方程 8*x^4 + 7*x^3 + 2*x^2 + 3*x + 6 == Y,求方程的解. 首先判断方程是否有解,因为该函数在实数范围内是连续的,所以只需使y的值满足f(0)< ...
- NSRunloop总结
NSRunloop是一个消息处理机制:是一个循环. 系统通过消息队列和runloop与进程(线程)通信. runloop是一个机制和体系结构. 它包含以下几个方面: 1.事件源管理: 2.事件的检索与 ...