如何在git中的“ - ”分隔符之后创建更改日志

问题描述 投票:1回答:1

如何以git格式制作更改日志如下?所有更改日志V1-> V2 ...都在“---”之后

    Signed-off-by: xxx 
    ---
    Changes in v2:
    - xxx xxx xxx
    Changes in v3:
    - xxx xxx xxx

     drivers/media/platform/sh_veu.c | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
git patch
1个回答
0
投票

你需要某种changelog生成器,比如git-chglog/git-chglog

如果没有,至少,尝试一下log between two tags

git log --oneline tag1..tag2
© www.soinside.com 2019 - 2024. All rights reserved.