Commit aea42ca
authored
chore: Remove no-commit-to-branch pre-commit (#4985)
The hook prevents committing directly to the main branch, but this can
be annoying for developers who use a different Git workflow. If you
accidentally try to commit to main, you have to create a new branch and
rerun all pre-commit checks.
Since we already enforce branch protection rules for main via GitHub,
this hook adds little value while reducing flexibility. Removing it
allows for a more streamlined workflow without unnecessary friction.1 parent 74ab2c0 commit aea42ca
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments