• 请不要在回答技术问题时复制粘贴 AI 生成的内容
LeungJZ
V2EX  ›  程序员

想问下,你们 git/svn 的 commit 是怎么写的?

  •  
  •   LeungJZ ·
    JZLeung · May 10, 2018 · 1923 views
    This topic created in 2948 days ago, the information mentioned may be changed or developed.

    我的是这样的,根据 add, update, fixed, remove 来作标题,但是又不知道需不需要在后面跟上其他东西。

    HENQIGUAI
        1
    HENQIGUAI  
       May 10, 2018
    我一般 cd 到 main 目录,然后 svn -commit -m "",哈哈哈哈
    suiterchik
        2
    suiterchik  
       May 10, 2018
    git add .
    git commit -m .
    git push
    jerryshao
        3
    jerryshao  
       May 10, 2018
    在自己本地分支开发的时候想怎么写都写,最后 rebase 到主分支的时候,把所有的修改 squash 成一条 commit,然后用下面的模板做 commit message。

    [issue_id] 简要说一下修改内容

    具体说修改内容

    ISSUE: 链接
    CR: 链接
    TEST: 链接
    LeungJZ
        4
    LeungJZ  
    OP
       May 10, 2018
    @jerryshao
    额,公司项目,但是放在个人的 gitlab 上。。。基本都在 master 分支开发。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2817 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 13:34 · PVG 21:34 · LAX 06:34 · JFK 09:34
    ♥ Do have faith in what you're doing.