git & Angular.js git commit 规范 All In One
git & Angular.js git commit 规范 All In One
git commit 规范

-
header (type: (scope) + message)
-
body
-
footer
https://github.com/angular/angular/commits/master
https://github.com/angular/angular/commit/e82f56b96f2beff420354dbb10ad84a99ef03325
git commit 提交规范
type 分类
feat:新功能(feature)✅✅✅fix:修复bug ✅✅✅docs:文档(documentation)✅style: 格式化(不影响代码运行的变动)✅refactor:重构/代码优化(即不是新增功能,也不是修改 bug 的代码变动)✅✅test:增加测试✅chore:优化构建过程或辅助工具的变动 ✅
参照 Angular.js 的 commit 规范。
https://www.ruanyifeng.com/blog/2016/01/commit_message_change_log.html

demos
$ git status
$ git add .
$ git commit -m "feat: add Role Module"
# $ git fecth + git merge
$ git pull
$ git push
https://github.com/xgqfrms/git/issues/6
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
GitHub PR & git squash & git merge All In One
GitHub 上 merge PR 时合并多个 commits 提交 ✅
https://www.cnblogs.com/xgqfrms/p/16464515.html
refs
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/11526948.html
未经授权禁止转载,违者必究!

浙公网安备 33010602011771号