forked from Mirror/ollama4j
Enable no-commit-to-branch pre-commit hook.
This commit is contained in:
@@ -4,8 +4,8 @@ repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: "v5.0.0"
|
||||
hooks:
|
||||
# - id: no-commit-to-branch
|
||||
# args: ['--branch', 'main']
|
||||
- id: no-commit-to-branch
|
||||
args: ['--branch', 'main']
|
||||
- id: check-merge-conflict
|
||||
- id: check-added-large-files
|
||||
- id: check-yaml
|
||||
|
||||
Reference in New Issue
Block a user