Skip to content

Commit

Permalink
docs: add simple setup test #775
Browse files Browse the repository at this point in the history
  • Loading branch information
escapedcat authored and marionebl committed Aug 22, 2019
1 parent a259014 commit 4758976
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/guides-local-setup.md
Expand Up @@ -45,6 +45,19 @@ Using `commit-msg` gives us exactly what we want: It is executed whenever a new

## Test

### Test simple usage

For a first simple usage test of commlitlint you can do the following:

```bash
npx commitlint --from HEAD~1 --to HEAD --verbose
```

This will check your last commit and return an error if invalid or a positive output if valid.


### Test the hook

You can test the hook by simply committing. You should see something like this if everything works.

```bash
Expand Down

0 comments on commit 4758976

Please sign in to comment.