Skip to content

Commit

Permalink
pre-commit docs: update sha -> rev (thlorenz#178)
Browse files Browse the repository at this point in the history
Since pre-commit [v1.7.0](https://github.com/pre-commit/pre-commit/blob/master/CHANGELOG.md#170---2018-03-03), `rev` is the preferred spelling for that field
  • Loading branch information
asottile authored Oct 22, 2020
1 parent bf7896b commit d38d04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ following configuration:
```yaml
repos:
- repo: https://github.com/thlorenz/doctoc
sha: ... # substitute a tagged version
rev: ... # substitute a tagged version
hooks:
- id: doctoc
```
Expand Down

0 comments on commit d38d04b

Please sign in to comment.