René's URL Explorer Experiment


Title: pre-commit hook for commitizen-branch broken since 4.15.1 · Issue #2003 · commitizen-tools/commitizen · GitHub

Open Graph Title: pre-commit hook for commitizen-branch broken since 4.15.1 · Issue #2003 · commitizen-tools/commitizen

X Title: pre-commit hook for commitizen-branch broken since 4.15.1 · Issue #2003 · commitizen-tools/commitizen

Description: Description I can't upgrade my pre-commit hooks from 4.15.0 to 4.15.1 since it would break commitizen-branch. The error message is: commitizen check branch..................................................Failed - hook id: commitizen-bra...

Open Graph Description: Description I can't upgrade my pre-commit hooks from 4.15.0 to 4.15.1 since it would break commitizen-branch. The error message is: commitizen check branch.............................................

X Description: Description I can't upgrade my pre-commit hooks from 4.15.0 to 4.15.1 since it would break commitizen-branch. The error message is: commitizen check branch.........................................

Opengraph URL: https://github.com/commitizen-tools/commitizen/issues/2003

X: @github

direct link

Domain: redirect.github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pre-commit hook for commitizen-branch broken since 4.15.1","articleBody":"### Description\n\nI can't upgrade my pre-commit hooks from 4.15.0 to 4.15.1 since it would break commitizen-branch.\n\nThe error message is:\n```TEXT\ncommitizen check branch..................................................Failed\n- hook id: commitizen-branch\n- exit code: 23\n\nfatal: ambiguous argument '$PRE_COMMIT_FROM_REF..$PRE_COMMIT_TO_REF': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git \u003ccommand\u003e [\u003crevision\u003e...] -- [\u003cfile\u003e...]'\n```\n\n```TEXT\ndefault_install_hook_types:\n  - pre-commit\n  - pre-push\n\nrepos:\n  - repo: https://github.com/commitizen-tools/commitizen\n    rev: v4.15.0\n    hooks:\n      - id: commitizen-branch\n        stages:\n          - pre-push\n          - \n```\n\n### Steps to reproduce\n\n1. Create branch and make a dummy change\n2. Use above configuration\n    1. git add \u0026\u0026 git commit (works)\n    2. git push (works)\n3. Create a new commit, update to any newer version (4.15.1 / 4.16.0 / 4.16.1 / 4.16.2)\n    1. git add \u0026\u0026 git commit (works)\n    2. git push (fails)\n\n### Current behavior\n\nAny version newer than 4.15.0 fails with an error.\n\nConfiguration:\n\n```TEXT\nrepos:\n  - repo: https://github.com/commitizen-tools/commitizen\n    # can be any of: 4.15.1, 4.16.0, 4.16.1, 4.16.2\n    rev: v4.15.1\n    hooks:\n      - id: commitizen-branch\n        stages:\n          - pre-push\n```\n\nError:\n\n```TEXT\ncommitizen check branch..................................................Failed\n- hook id: commitizen-branch\n- exit code: 23\n\nfatal: ambiguous argument '$PRE_COMMIT_FROM_REF..$PRE_COMMIT_TO_REF': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions, like this:\n'git \u003ccommand\u003e [\u003crevision\u003e...] -- [\u003cfile\u003e...]'\n```\n\n\n### Desired behavior\n\nI can update commitizen-branch to use the most recent version (4.16.2).\n\n### Screenshots\n\n\u003cimg width=\"1804\" height=\"287\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/503896c2-e650-4830-8b43-1d05a2b3eff1\" /\u003e\n\n### Environment\n\nNo output for `cz version --report` since I don't have cz installed.\nCommitizen is managed by the pre-commit hook.\n\npre-commit version in case it's relevant: 4.6.0","author":{"url":"https://github.com/Thomas-Neumann","@type":"Person","name":"Thomas-Neumann"},"datePublished":"2026-05-26T13:37:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2003/commitizen/issues/2003"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:79cc24b0-2b65-b366-b1b6-cf5478358df1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A96:AF0A5:1259CCE:18F77BA:6A4D6D1D
html-safe-nonce2e4f3fe02e9edd400fb493f61c0517160a798105812aa11bae760fbcdaf55257
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTk2OkFGMEE1OjEyNTlDQ0U6MThGNzdCQTo2QTRENkQxRCIsInZpc2l0b3JfaWQiOiI4NzkxODcxNDQ5MDk2NjEzMTQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3f8245ac5bab1064c5b4c8493ef9e4f908f5a1b0f098c0600e06832982e00a5d
hovercard-subject-tagissue:4524563125
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/commitizen-tools/commitizen/2003/issue_layout
twitter:imagehttps://opengraph.githubassets.com/00fb3b9258b86c7b11d849e6b639f5538cb50548ee823583d6d1acdeab617f00/commitizen-tools/commitizen/issues/2003
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/00fb3b9258b86c7b11d849e6b639f5538cb50548ee823583d6d1acdeab617f00/commitizen-tools/commitizen/issues/2003
og:image:altDescription I can't upgrade my pre-commit hooks from 4.15.0 to 4.15.1 since it would break commitizen-branch. The error message is: commitizen check branch.............................................
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameThomas-Neumann
hostnamegithub.com
expected-hostnamegithub.com
None7db3950e3f59095e20a9789440c3dd554efc62d434882ead06ae05b5815605b9
turbo-cache-controlno-preview
go-importgithub.com/commitizen-tools/commitizen git https://github.com/commitizen-tools/commitizen.git
octolytics-dimension-user_id62252524
octolytics-dimension-user_logincommitizen-tools
octolytics-dimension-repository_id106127589
octolytics-dimension-repository_nwocommitizen-tools/commitizen
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id106127589
octolytics-dimension-repository_network_root_nwocommitizen-tools/commitizen
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecd8f6a71db61d6012a0cbb134be844fdbe9b8a45
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/commitizen-tools/commitizen/issues/2003#start-of-content
https://redirect.github.com/
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F2003
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcommitizen-tools%2Fcommitizen%2Fissues%2F2003
Sign up https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=commitizen-tools%2Fcommitizen
Reloadhttps://redirect.github.com/commitizen-tools/commitizen/issues/2003
Reloadhttps://redirect.github.com/commitizen-tools/commitizen/issues/2003
Reloadhttps://redirect.github.com/commitizen-tools/commitizen/issues/2003
Please reload this pagehttps://redirect.github.com/commitizen-tools/commitizen/issues/2003
commitizen-tools https://redirect.github.com/commitizen-tools
commitizenhttps://redirect.github.com/commitizen-tools/commitizen
Please reload this pagehttps://redirect.github.com/commitizen-tools/commitizen/issues/2003
Notifications https://redirect.github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Fork 343 https://redirect.github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Star 3.5k https://redirect.github.com/login?return_to=%2Fcommitizen-tools%2Fcommitizen
Code https://redirect.github.com/commitizen-tools/commitizen
Issues 116 https://redirect.github.com/commitizen-tools/commitizen/issues
Pull requests 45 https://redirect.github.com/commitizen-tools/commitizen/pulls
Discussions https://redirect.github.com/commitizen-tools/commitizen/discussions
Actions https://redirect.github.com/commitizen-tools/commitizen/actions
Projects https://redirect.github.com/commitizen-tools/commitizen/projects
Security and quality 0 https://redirect.github.com/commitizen-tools/commitizen/security
Insights https://redirect.github.com/commitizen-tools/commitizen/pulse
Code https://redirect.github.com/commitizen-tools/commitizen
Issues https://redirect.github.com/commitizen-tools/commitizen/issues
Pull requests https://redirect.github.com/commitizen-tools/commitizen/pulls
Discussions https://redirect.github.com/commitizen-tools/commitizen/discussions
Actions https://redirect.github.com/commitizen-tools/commitizen/actions
Projects https://redirect.github.com/commitizen-tools/commitizen/projects
Security and quality https://redirect.github.com/commitizen-tools/commitizen/security
Insights https://redirect.github.com/commitizen-tools/commitizen/pulse
#2005https://github.com/commitizen-tools/commitizen/pull/2005
pre-commit hook for commitizen-branch broken since 4.15.1https://redirect.github.com/commitizen-tools/commitizen/issues/2003#top
#2005https://github.com/commitizen-tools/commitizen/pull/2005
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
type: bughttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/Thomas-Neumann
Thomas-Neumannhttps://github.com/Thomas-Neumann
on May 26, 2026https://github.com/commitizen-tools/commitizen/issues/2003#issue-4524563125
https://private-user-images.githubusercontent.com/72075499/598219311-503896c2-e650-4830-8b43-1d05a2b3eff1.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM0NTk0MDIsIm5iZiI6MTc4MzQ1OTEwMiwicGF0aCI6Ii83MjA3NTQ5OS81OTgyMTkzMTEtNTAzODk2YzItZTY1MC00ODMwLThiNDMtMWQwNWEyYjNlZmYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzA3VDIxMTgyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWViY2JlNDcwMTZmNGYzNTExMThmMmJhMGM2ZGJkYTEyOTlhMjJiNWM5ZjY3MDFmMjg2Yjc3YjFhZGViMWI0ODEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.Zkv7VLq_zTx6z3BfWT2gCZPq5bJVp1_qT5OJVmP5RDA
issue-status: needs-triagehttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22issue-status%3A%20needs-triage%22
type: bughttps://github.com/commitizen-tools/commitizen/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.