-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prevent accidental commit to master #146
Labels
chore
Non source related, infrasture change
Comments
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: no-commit-to-branch
args: ["--branch", "master", "--branch", "main"]
|
when this change check in:
|
plastikfan
added a commit
that referenced
this issue
Mar 15, 2023
plastikfan
added a commit
that referenced
this issue
Mar 15, 2023
This might have been installed but mistakenly not activated. Regardless, the commit hook is not activated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See:
To undo the last commit (ref) : git reset HEAD~
The text was updated successfully, but these errors were encountered: