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

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

第8课《git commit:写好提交,做一个有品味的程序员》课后题

问1:执行git rebase --autosquash时,Git是如何判断哪些commit需要压缩合并成一个commit的?

问2:git log --oneline命令是如何区分提交说明的标题(subject)和主体(body)的?

问3:你的一段代码解决了同事A发现的一个bug,你在这段代码的提交说明中应该如何记录同事A发现了这个bug这件事?

展开
收起
雅纯 2022-09-21 18:06:12 10461 0
133 条回答
写回答
取消 提交回答
  • 1.git commit --fixup ,标题与主体正文之间增加空行,subject是首行内容,第二行是空行,空行之后是body

    2.git commit -s 添加尾缀,在签名区书写 Reported-by:<同事A>

    2023-04-05 09:13:02
    赞同 展开评论 打赏
  • 1.git commit --fixup ,标题与主体正文之间增加空行,subject是首行内容,第二行是空行,空行之后是body

    2.git commit -s 添加尾缀,在签名区书写 Reported-by:<同事A>

    2023-04-04 18:13:41
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 22:20:15
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 18:57:58
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 18:29:18
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 18:11:23
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 16:45:46
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 15:12:44
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分

    2023-04-03 15:11:27
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-03 15:07:39
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-02 12:08:56
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-04-01 15:48:25
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-03-31 17:09:35
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-03-31 15:31:55
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-03-31 14:58:59
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-03-31 12:16:58 发布于河北

    2023-03-31 13:20:46
    赞同 展开评论 打赏
  • git commit --fixup 按说明格式区分,subject 空行 body git commit -s , 在签名区记录 Reported by A

    2023-03-31 12:16:58
    赞同 展开评论 打赏
    1. git commit --fixup
    2. 按说明格式区分,subject 空行 body
    3. git commit -s , 在签名区记录 Reported by A
    2023-03-22 14:21:18
    赞同 展开评论 打赏
  • 1、git commit --fixup 2、按说明格式区分,subject 空行 body 3、git commit -s , 在签名区记录 Reported by A

    2023-03-21 21:48:19
    赞同 展开评论 打赏
  • 1、git commit --fixup 2、按说明格式区分,subject 空行 body 3、git commit -s , 在签名区记录 Reported by A

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

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

热门讨论

热门文章

相关电子书

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