You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select the type of change that you're committing: (Use arrow keys)
❯ ✨ Feat: Introducing new features.
🐛 Bug: Fixing a bug.
📝 Docs: Writing docs.
🎨 Style: Improving structure / format of the code.
💄 UI: Updating the UI and style files.
🚑 Quickfix: Critical hotfix.
⚡️ Pref: Improving performance.
(Move up and down to reveal more choices)
再看提交记录,是不是赏心悦目多了:
The text was updated successfully, but these errors were encountered:
写在前面
关于 Git,大家想必都很熟悉,因为我们几乎每天都在重复着
git add
、git commit
、git push
等命令,自然也就留下很多“痕迹”,如果没有好的规范和工具来约束,可能就会出现以下情况:因此,规范和工具的重要性就体现出来了:
推荐文章
相关工具
安装
全局
本地
使用
以后,凡是用到 git commit 命令,一律改为使用 git cz。这时,就会出现选项,用来生成符合格式的 Commit message(commitizen 与 emoji 结合)。如图:
再看提交记录,是不是赏心悦目多了:
The text was updated successfully, but these errors were encountered: