Re: [PATCH] revisions: add @{default} shorthand for default branch
- From
Harald Nordgren <haraldnordgren@gmail.com>
- Date
- Feb 3, 2026, 11:18 UTC
- Message-ID
- <20260203111829.31088-1-haraldnordgren@gmail.com>
- In-Reply-To
- <20260202225630.12507-1-haraldnordgren@gmail.com>
I just ran into this issue when working from a detached HEAD. Maybe I can get around it by adding "HEAD" as acceptable branches.
But it's an example that a lot of code out there requires real branches to do things.
$ release-it --ci ERROR Must be on branch release/*,hotfix/*,develop Documentation: https://git.io/release-it-git
error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Harald