Email: [email protected]
Twitter: @ZhouQunying
Facebook: @ZhouQunying
Wechat: EagleSilence_
Weibo: @ZhouQunying1992
My Team: Baidu Video FE
Baidu video FE
Email: [email protected]
Twitter: @ZhouQunying
Facebook: @ZhouQunying
Wechat: EagleSilence_
Weibo: @ZhouQunying1992
My Team: Baidu Video FE
AngularJS团队的AngularJS Git Commit Message Conventions是目前使用最广的规范,清晰的提交信息会使我们很容易追踪定位项目历史。
使用最多的格式规范如下:
type(scope?): subject
body?
footer?
Commitizen将提示和引导我们在提交时填写所需的提交字段。
在提交时执行git cz
代替git commit
:
Commitlint能够帮助团队遵守git commit规范,当提交信息不符合格式规范时,提交钩子运行后拒绝提交。
使用时只需安装依赖:npm install --save-dev commitizen @commitlint/cli @commitlint/config-conventional
。
在.commitlintrc.yml
中配置规则Rules。
并在package.json中添加:
"scripts": {
"commitmsg": "commitlint -E GIT_PARAMS"
}
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
Enjoy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.