Title: Support for `pre-rebase` Hook · Issue #2582 · pre-commit/pre-commit · GitHub
Open Graph Title: Support for `pre-rebase` Hook · Issue #2582 · pre-commit/pre-commit
X Title: Support for `pre-rebase` Hook · Issue #2582 · pre-commit/pre-commit
Description: Is there a pre-commit hook that can prevent rebase operations? It looks like git does support a pre-rebase hook, but I didn't see it in the docs. I checked here. Example pre-rebase hook: https://gist.github.com/uasi/9384329
Open Graph Description: Is there a pre-commit hook that can prevent rebase operations? It looks like git does support a pre-rebase hook, but I didn't see it in the docs. I checked here. Example pre-rebase hook: https://gi...
X Description: Is there a pre-commit hook that can prevent rebase operations? It looks like git does support a pre-rebase hook, but I didn't see it in the docs. I checked here. Example pre-rebase hook: https:...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/2582
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for `pre-rebase` Hook","articleBody":"Is there a pre-commit hook that can prevent rebase operations? It looks like git does support a `pre-rebase` hook, but I didn't see it in the docs.\r\n\r\nI checked [here](https://pre-commit.com/#confining-hooks-to-run-at-certain-stages).\r\n\r\nExample `pre-rebase` hook:\r\n\r\nhttps://gist.github.com/uasi/9384329","author":{"url":"https://github.com/BrutalSimplicity","@type":"Person","name":"BrutalSimplicity"},"datePublished":"2022-11-04T02:52:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/2582/pre-commit/issues/2582"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2f7b0ba1-7c85-9bc7-2318-1acc3bdd8af0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8ED4:356ACF:196A8CA:252FE79:6A563CD2 |
| html-safe-nonce | f61db2faeb2fb417e111bec3eab053b0ce27b75392e9fa9653506d917f37ee3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQ0OjM1NkFDRjoxOTZBOENBOjI1MkZFNzk6NkE1NjNDRDIiLCJ2aXNpdG9yX2lkIjoiNDU2NTc5ODMzMDc5OTM4MjU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 81b3b3a9118a0b0377dc5cf56ed1e2d96e3d622f06cef55e70dbbc3aa00fae9e |
| hovercard-subject-tag | issue:1435472687 |
| github-keyboard-shortcuts | repository,issues,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/2582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9412a5fedb9676c02ff97aa049a76eee707a575ba0c976de380f53c4764e4ef1/pre-commit/pre-commit/issues/2582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9412a5fedb9676c02ff97aa049a76eee707a575ba0c976de380f53c4764e4ef1/pre-commit/pre-commit/issues/2582 |
| og:image:alt | Is there a pre-commit hook that can prevent rebase operations? It looks like git does support a pre-rebase hook, but I didn't see it in the docs. I checked here. Example pre-rebase hook: https://gi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | BrutalSimplicity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 96d96c6ad1e3234907759a5e634942d2ca0aded8a6ec1693a59d0f2c59c0dac9 |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ec50befe6b611eee09bfe878347d87b8d5d2443f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width