Title: MAJOR,MINOR,PATCH config that takes in consideration the branch · Issue #1572 · commitizen-tools/commitizen · GitHub
Open Graph Title: MAJOR,MINOR,PATCH config that takes in consideration the branch · Issue #1572 · commitizen-tools/commitizen
X Title: MAJOR,MINOR,PATCH config that takes in consideration the branch · Issue #1572 · commitizen-tools/commitizen
Description: Description First of all, thank you for this program. I really enjoy using it. I looked for a way to perform what I need but I was not able to find the necessary information, therefore I suspect this is not something possible at the mome...
Open Graph Description: Description First of all, thank you for this program. I really enjoy using it. I looked for a way to perform what I need but I was not able to find the necessary information, therefore I suspect th...
X Description: Description First of all, thank you for this program. I really enjoy using it. I looked for a way to perform what I need but I was not able to find the necessary information, therefore I suspect th...
Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/1572
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MAJOR,MINOR,PATCH config that takes in consideration the branch","articleBody":"### Description\n\nFirst of all, thank you for this program. I really enjoy using it.\n\nI looked for a way to perform what I need but I was not able to find the necessary information, therefore I suspect this is not something possible at the moment, ence, the feature request.\n\nI am currently using commitizen on projects in which:\n\n- main branch accept only major and minor\n- release branches that accept only patch (no breaking changes are allwed during patch fixes)\n\nAt the moment this is handled manually, the user needs to check which version will be issued and manually specify the version or correctly manage the commit name in order to obtain the right next-value.\n\nproblem is I won't trust who is performing the tag to make the correct tag. I would like to have it automated and enforced at configuration level.\n\nThank you for reading.\nHope this could be something interesting\n\n### Possible Solution\n\nI would like to be able to write in the config file something like:\n\nmin_value = [\n \"main\": \"minor\",\n\"release/*\": \"patch\"\n]\nmax_value = [\n\"main\": \"major\",\n\"release/*\": \"patch\"\n]\n\nThis will allow to cherry pick a fix and perform the bump without editing the commit message, or without specify the wanted increment on the command line.\n\n\n\n### Additional context\n\n_No response_\n\n### Related issues\n\n_No response_","author":{"url":"https://github.com/andyinno","@type":"Person","name":"andyinno"},"datePublished":"2025-08-08T07:08:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1572/commitizen/issues/1572"}
| 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:7dac1591-e68a-c31d-440d-f9461647059b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4FC:22C227:C5CB9E:10FEC0C:6A4DE79F |
| html-safe-nonce | e682ee712216847bd3599c1f4613217c71789b9c90b7a4d7adf65161a859f4f9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEZDOjIyQzIyNzpDNUNCOUU6MTBGRUMwQzo2QTRERTc5RiIsInZpc2l0b3JfaWQiOiI2Mzk3MDQxMDQyNTQxODk3NjMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8614570034cc34a1810266d85cfc24bf032d18f97bce55cd01d9b78483dd2563 |
| hovercard-subject-tag | issue:3302887908 |
| github-keyboard-shortcuts | repository,issues,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/commitizen-tools/commitizen/1572/issue_layout |
| twitter:image | https://opengraph.githubassets.com/35705381dee95058ec86960899b2a511b5dcb3f4ed9f0109b56e24ab4b86b354/commitizen-tools/commitizen/issues/1572 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/35705381dee95058ec86960899b2a511b5dcb3f4ed9f0109b56e24ab4b86b354/commitizen-tools/commitizen/issues/1572 |
| og:image:alt | Description First of all, thank you for this program. I really enjoy using it. I looked for a way to perform what I need but I was not able to find the necessary information, therefore I suspect th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andyinno |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git |
| octolytics-dimension-user_id | 62252524 |
| octolytics-dimension-user_login | commitizen-tools |
| octolytics-dimension-repository_id | 106127589 |
| octolytics-dimension-repository_nwo | commitizen-tools/commitizen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 106127589 |
| octolytics-dimension-repository_network_root_nwo | commitizen-tools/commitizen |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width