Skip to content

Commit 023851e

Browse files
Fix readme to correctly reflect no-commit-to-branch args
1 parent e018adf commit 023851e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Add this to your `.pre-commit-config.yaml`
8282
- `name-tests-test` - Assert that files in tests/ end in `_test.py`.
8383
- Use `args: ['--django']` to match `test*.py` instead.
8484
- `no-commit-to-branch` - Protect specific branches from direct checkins.
85-
- Use `args: [--branch <branch>]` to set the branch. `master` is the
85+
- Use `args: ['staging', 'master']` to set the branch. `master` is the
8686
default if no argument is set.
8787
- `-b` / `--branch` may be specified multiple times to protect multiple
8888
branches.

0 commit comments

Comments
 (0)