1
0

More than 1 year has passed since last update.

Git Commitizenをグローバルで設定する

Last updated at Posted at 2021-12-06

グローバルで設定する方法がややこしかったのでメモ

以下でOK。

npm install commitizen -g
npm install -g cz-conventional-changelog
echo '{ "path": "cz-conventional-changelog" }' > ~/.czrc

ドキュメントにはinitのコマンドが書かれているけれど、自分の環境ではうまく動かなかったので、直接.czrcに書き込んでいます。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0