mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add pre-commit hook no-commit-to-branch
additional layer to prevent accidential commits directly to main branch
This commit is contained in:
parent
e80160f8dd
commit
ed06a70eca
@ -36,4 +36,6 @@ repos:
|
||||
- id: check-symlinks
|
||||
- id: check-toml
|
||||
- id: end-of-file-fixer
|
||||
- id: no-commit-to-branch
|
||||
args: ['--branch', 'main']
|
||||
- id: trailing-whitespace
|
||||
|
Loading…
Reference in New Issue
Block a user