git端口 - 网络要求 [英] git port - network requirement

查看:339
本文介绍了git端口 - 网络要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在连接到我的办公网络时,我始终无法运行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 :支持跟踪逐字包内容



在调试包协议时,存储我们在线路上发送或接收的逐字包有时很有用。查看磁盘上的结果通常不会有帮助,原因如下:


  1. 如果操作是克隆,我们销毁回购失败,不会在磁盘上留下任何东西。

  2. 如果包装很小,我们会立即将其解包,并且整包不会碰到磁盘。我们将包装送到 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 contents

When 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:

  1. If the operation is a clone, we destroy the repo on failure, leaving nothing on disk.
  2. If the pack is small, we unpack it immediately, and the full pack never hits the disk.
  3. 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 with GIT_TRACE_PACKFILE to dump the verbatim packfile.

这篇关于git端口 - 网络要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆