开发者社区 > 云效DevOps > 正文

阿里云Git训练营第5课课后自测

课时5:《git交互协议详解》课后题

问1:Git 如何打开 trace,并输出到文件?

问2:Git 客户端在正式 clone 的时候,会优先做引用发现,那么引用发现中最终的两部分内容是什么?

问3:在 push 阶段,我们可以通过开启推送协商功能来进行提速,那如何正确开启“推送协商”功能呢?

展开
收起
雅纯 2022-09-21 18:08:38 14580 0
146 条回答
写回答
取消 提交回答
  • 1、打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log 2、refs/heads/, refs/tags/ 3、git -c push.negotiate=true

    2023-05-31 21:32:23
    赞同 展开评论 打赏
  • 1.打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log2.refs/heads/, refs/tags/3.git -c push.negotiate=true

    2023-04-20 15:27:39
    赞同 展开评论 打赏
  • 1.打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log

    2.refs/heads/, refs/tags/

    3.git -c push.negotiate=true

    2023-04-04 19:09:20
    赞同 展开评论 打赏
  • 1.打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log

    2.refs/heads/, refs/tags/

    3.git -c push.negotiate=true

    2023-04-04 18:08:20
    赞同 展开评论 打赏
  • git rebase git rebase -i 可以

    2023-04-03 22:23:28
    赞同 展开评论 打赏
  • git rebase git rebase -i 可以

    2023-04-03 19:00:59
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 18:29:19
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 18:11:22
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 16:45:28
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 15:11:27
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 15:10:10
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-03 14:57:33
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-02 12:08:34
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-04-01 15:46:07
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-03-31 17:09:30
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-03-31 15:29:40
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-03-31 14:57:12
    赞同 展开评论 打赏
  • GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log refs/heads/, refs/tags/ git -c push.negotiate=true

    2023-03-31 12:12:45
    赞同 展开评论 打赏
    1. GIT_TRACE=/path/log,GIT_TRACE_PACKET=/path/log
    2. refs/heads/, refs/tags/
    3. git -c push.negotiate=true
    2023-03-22 14:08:34
    赞同 展开评论 打赏
  • 1.打开GIT环境变量GIT_TRACE=1,GIT_TRACE_PACKET=path/to/log

    2.refs/heads/, refs/tags/

    3.git -c push.negotiate=true

    2023-03-21 21:48:20
    赞同 展开评论 打赏
滑动查看更多

云效,企业级一站式研发协同平台,数十万企业都在用。支持公共云、专有云和混合云多种部署形态,通过云原生新技术和研发新模式,助力创新创业和数字化转型企业快速实现研发敏捷和组织敏捷,打造“双敏”组织,实现多倍效能提升。

热门讨论

热门文章

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载