Git Intro

Git

git commit message

  • git commit -m “():
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    # type:
    - feat: feature
    - fix: fix bug
    - docs: 修改README
    - style: 格式化
    - refactor: 代码重构
    - test: 测试
    - chore: 改变构建流程,增加依赖库
    - perf: 性能优化
    - revert: 回滚到上一个版本

    # scope:
    > 说明commit影响的范围 [数据层、控制层、视图层]

    # subject:
    > commit目的的简短描述,不超过50个字符

Git Stats

    1. Roll your own stats with git’s command line options
      1