代码之家  ›  专栏  ›  技术社区  ›  zedoo

如何更改git commit消息中的默认注释?

  •  45
  • zedoo  · 技术社区  · 16 年前

    是否可以修改默认git commit消息的注释部分?

    # Please enter the commit message for your changes.
    # (Comment lines starting with '#' will not be included)
    # Explicit paths specified without -i nor -o; assuming --only paths...
    # On branch master
    # Changes to be committed:
    #   (use "git reset HEAD <file>..." to unstage)
    #
    #       modified:   test.txt
    #
    
    3 回复  |  直到 8 年前