leoforfree / cz-customizable

A standalone commit message helper or customizable commitizen adapter for https://github.com/commitizen/cz-cli
MIT License
604 stars 201 forks source link

[bug] it work on macOS, but lose footer on windows10 #211

Open seepine opened 1 year ago

seepine commented 1 year ago

package.json

{
  "scripts": {
    "commit": "npx cz-customizable"
  },
 "devDependencies": {
    "@commitlint/cli": "~17.3.0",
    "@commitlint/config-conventional": "~17.3.0",
    "cz-customizable": "~7.0.0"
  }
}

run npm run commit and then gen

###--------------------------------------------------------###
feat(js): add divide

ISSUES CLOSED: #1
###--------------------------------------------------------###

bug git log show

$ git log
commit aecd13f641786ddc7e578989e29a14ddd41f20ed (HEAD -> main)
Author: seepine <seepine@example.com>
Date:   Thu Dec 8 17:43:12 2022 +0800

    feat(js): add divide

commit c2c376f5e558f7840d3f429745d09f5e57f6fceb
Author: seepine <seepine@example.com>
Date:   Thu Dec 8 14:17:33 2022 +0800

    build(deps): upgrade husky

...