Skip to content

Commit

Permalink
Prevent accidentally committing to master (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
draftcode authored Oct 9, 2024
1 parent f2c7fff commit b78d154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ repos:
rev: v4.4.0
hooks:
- id: end-of-file-fixer
- id: no-commit-to-branch
args: ['--branch', 'master']

0 comments on commit b78d154

Please sign in to comment.