git端口 - 网络要求 [英] git port - network requirement
问题描述
在连接到我的办公网络时,我始终无法运行git push。似乎有网络设置问题。任何建议如何解决这个问题,或者我应该向网络团队传达什么请求?
解决方案 Git 2.6+(Q3 2015)将建议对现有的 GIT_TRACE_PACKET
调试选项进行扩展。
请参阅 rel =nofollow>提交d6d1a75 ,提交f3612ac (2015年6月12日) )通过 Jeff King( peff
)。
(由 Junio C Hamano - gitster
合并 - - 在提交0b9ce18 ,03 2015年8月)
pkt-line
:支持跟踪逐字包内容
在调试包协议时,存储我们在线路上发送或接收的逐字包有时很有用。查看磁盘上的结果通常不会有帮助,原因如下:
- 如果操作是克隆,我们销毁回购失败,不会在磁盘上留下任何东西。
- 如果包装很小,我们会立即将其解包,并且整包不会碰到磁盘。我们将包装送到
index-pack --fix-thin
,结果包中增加了额外的增量基数。
我们已经有了一个用于跟踪数据包的
GIT_TRACE_PACKET
机制。
让我们扩展它使用GIT_TRACE_PACKFILE
转储逐字包装文件。
While connected to my office network, I always not be able to run git push. It seems there is network setting issue. Any advice how to troubleshoot the issue or what request shall I convey to network team?
Git 2.6+ (Q3 2015) will propose an extension to the existing GIT_TRACE_PACKET
debugging option.
See commit 3235983 (16 Jun 2015), and commit d6d1a75, commit f3612ac (12 Jun 2015) by Jeff King (peff
).
(Merged by Junio C Hamano -- gitster
-- in commit 0b9ce18, 03 Aug 2015)
pkt-line
: support tracing verbatim pack contentsWhen debugging the pack protocol, it is sometimes useful to store the verbatim pack that we sent or received on the wire. Looking at the on-disk result is often not helpful for a few reasons:
- If the operation is a clone, we destroy the repo on failure, leaving nothing on disk.
- If the pack is small, we unpack it immediately, and the full pack never hits the disk.
- If we feed the pack to "
index-pack --fix-thin
", the resulting pack has the extra delta bases added to it.We already have a
GIT_TRACE_PACKET
mechanism for tracing packets.
Let's extend it withGIT_TRACE_PACKFILE
to dump the verbatim packfile.
这篇关于git端口 - 网络要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!