Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
docs: ✏️ improve README
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Jun 6, 2018
1 parent 323f0e8 commit 4dd3914
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 18 deletions.
46 changes: 37 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,58 @@
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

# mol-conventional-changelog
# git-cz

## Usage

## Setup

Install commitizen
##### Without installation

```shell
npm install -g commitizen
npx git-cz
```

Install the `mol-conventional-changelog` package.
##### Install globally standalone

```shell
npm install --save-dev mol-conventional-changelog
npm install -g git-cz
git-cz
```

Init commitizen configuration
##### Install locally with Commitizen

```shell
commitizen init mol-conventional-changelog --save-dev --save-exact
npm install -g commitizen
npm install --save-dev git-cz
```

## Usage
and add to `package.json`:

```json
{
"config": {
"commitizen": {
"path": "git-cz"
}
},
}
```

now run:

```shell
git cz
```

##### Install globally with Commitizen

```shell
npm install -g commitizen git-cz
commitizen init git-cz --save-dev --save-exact
```

now run:

```shell
git cz
```

Expand Down
50 changes: 41 additions & 9 deletions build/readme.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,65 @@
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)

# mol-conventional-changelog
# git-cz

## Usage

## Setup

Install commitizen
##### Without installation

```shell
npm install -g commitizen
npx git-cz
```

Install the `mol-conventional-changelog` package.

##### Install globally standalone

```shell
npm install --save-dev mol-conventional-changelog
npm install -g git-cz
git-cz
```

Init commitizen configuration

##### Install locally with Commitizen

```shell
commitizen init mol-conventional-changelog --save-dev --save-exact
npm install -g commitizen
npm install --save-dev git-cz
```

## Usage
and add to `package.json`:

```json
{
"config": {
"commitizen": {
"path": "git-cz"
}
},
}
```

now run:

```shell
git cz
```


##### Install globally with Commitizen

```shell
npm install -g commitizen git-cz
commitizen init git-cz --save-dev --save-exact
```

now run:

```shell
git cz
```


## Examples

```
Expand Down

0 comments on commit 4dd3914

Please sign in to comment.