Skip to content

Commit

Permalink
[skip travis] update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
A.A.Abroskin committed Feb 7, 2019
1 parent e67b2ac commit d3b833c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,21 @@ Done! Now our script will be executed like this:
go run any.go
```

### I clone the existed repo whick uses hookah. How can I setup hooks?
### I clone the existed repo which use hookah. How can I setup hooks?

We suppose repo already have the hookah structure. So all of you need it run install:

```bash
hookah install
```
Hookah wiil read existed hook groups and reproduce hooks in `.git/hooks` directory.

### How can I run my linter against only modified files?

No problem. Lets take `rubocop` linter for ruby as example:

```bash
#!/bin/sh

git ls-files -m | xargs rubocop
```

0 comments on commit d3b833c

Please sign in to comment.