mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
doc(contribute) add commit message conventions
This commit is contained in:
parent
72579c1fc7
commit
64e151dd3d
2 changed files with 50 additions and 15 deletions
|
|
@ -1,16 +1,49 @@
|
|||
If you would like to contribute - send pull request to dev branch.
|
||||
Getting dev version of **Cloud Commander**:
|
||||
|
||||
git clone git://github.com/coderaiser/cloudcmd.git
|
||||
git checkout dev
|
||||
|
||||
or by [link](https://github.com/coderaiser/cloudcmd/tree/dev "Dev version").
|
||||
|
||||
It is possible thet dev version Cloud Commander will needed dev version of Minify,
|
||||
so to get it you should type a couple more commands:
|
||||
|
||||
cd node_modules
|
||||
rm -rf minify
|
||||
git clone git://github.com/coderaiser/minify
|
||||
cd minify
|
||||
Brunch
|
||||
---------------
|
||||
If you would like to contribute - send pull request to dev branch.
|
||||
Getting dev version of **Cloud Commander**:
|
||||
|
||||
git clone git://github.com/coderaiser/cloudcmd.git
|
||||
git checkout dev
|
||||
|
||||
or by [link](https://github.com/coderaiser/cloudcmd/tree/dev "Dev version").
|
||||
|
||||
It is possible thet dev version Cloud Commander will needed dev version of Minify,
|
||||
so to get it you should type a couple more commands:
|
||||
|
||||
cd node_modules
|
||||
rm -rf minify
|
||||
git clone git://github.com/coderaiser/minify
|
||||
cd minify
|
||||
git checkout dev
|
||||
|
||||
Commit
|
||||
---------------
|
||||
Format of the commit message: **type(scope): subject**
|
||||
|
||||
**Type**:
|
||||
- feature
|
||||
- fix (bug fix)
|
||||
- docs (documentation)
|
||||
- style (formatting, missing semi colons, …)
|
||||
- refactor
|
||||
- test (when adding missing tests)
|
||||
- chore (maintain)
|
||||
|
||||
**Scope**:
|
||||
Scope could be anything specifying place of the commit change.
|
||||
For example util, console, view, edit, style etc...
|
||||
|
||||
**Subject text**:
|
||||
- use imperative, present tense: “change” not “changed” nor “changes”
|
||||
- don't capitalize first letter
|
||||
- no dot (.) at the end
|
||||
**Message body**:
|
||||
- just as in <subject> use imperative, present tense: “change” not “changed” nor “changes”
|
||||
- includes motivation for the change and contrasts with previous behavior
|
||||
|
||||
**Examples**:
|
||||
- [fix(style) .name{width}: 37% -> 35%](https://github.com/coderaiser/cloudcmd/commit/94b0642e3990c17b3a0ee3efeb75f343e1e7c050)
|
||||
- [fix(console) dispatch: focus -> mouseup](https://github.com/coderaiser/cloudcmd/commit/f41ec5058d1411e86a881f8e8077e0572e0409ec)
|
||||
|
||||
**Big change should be writed in ChangeLog like [this](https://github.com/coderaiser/cloudcmd/commit/e1893f77be09585decf8a260d45a42efc11c98e5).**
|
||||
|
|
@ -76,6 +76,8 @@ getJSONfromFileTable.
|
|||
|
||||
* doc(license) add
|
||||
|
||||
* doc(contribute) add commit message conventions
|
||||
|
||||
|
||||
2012.04.22, v0.2.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue