-
Notifications
You must be signed in to change notification settings - Fork 604
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
[rush] git push --no-verify #1184
Comments
Possible solution: #1187 |
This solution makes sense to me. We don't really want git hooks interfering with the automated CI operations. It's tempting to enable |
Having an option to disable Git hooks entirely could be useful too but some folks might be using hooks for notifications and such. A more holistic approach might require an option that takes parameters. |
Closed this. Thanks for your help! Please reopen if the process is incomplete. |
We are using
rush change -v
on the pre-push git hook to make sure that changes are logged prior to a push. Unfortunately, this interrupts publish from working correctly in the azure devops CI pipeline. The solution is to invokegit push --no-verify
as demonstrated below. Is there a better way to do this?Desired code:
Work around:
The text was updated successfully, but these errors were encountered: