【问题标题】:How to Inspect git traffic in Fiddler如何在 Fiddler 中检查 git 流量
【发布时间】:2019-01-16 00:49:37
【问题描述】:

类似于使用a proxy (like fiddler) to intercept requests made from Node.js的问题,是否可以收听git发出的通信

像 checkout 和 commit 这样的本地 git 命令不会发出任何外部请求。
但是像push 和pull 这样的远程命令应该发出网络请求

但是,在监视“所有进程”时,它们不会出现在 fiddler 中

【问题讨论】:

    标签: git networking fiddler


    【解决方案1】:

    根据 Will Anderson 在 Inspecting Git Traffic in Fiddler 上的帖子,您可以通过设置 git config 将 git 流量路由到 fidler:

    git config --global http.proxy 127.0.0.1:8888
    git config --global http.sslVerify false
    

    完成后,通过在配置属性上调用--unset 撤消:

    git config --global --unset http.proxy
    git config --global --unset http.sslVerify
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多