Skip to content

fix(branch): #154 branch ref format validation - #155

Merged
Everduin94 merged 1 commit into
mainfrom
everduin94/fix/154-branch-ref-format-rules
Aug 26, 2026
Merged

Everduin94 merged 1 commit into
mainfrom
everduin94/fix/154-branch-ref-format-rules

Conversation

@Everduin94

@Everduin94 Everduin94 commented Aug 25, 2026 •

Copy link
Copy Markdown
Owner

Added git-branch-ref-format rules to checkout -b.
Added git-granch-ref-format as clack validator to fields.
Updated exit codes across the project to handle user ctrl+c exit or an error.
Updated git execSync usages to use arguments to be passed literally.

When making an invalid name via the cli

better-branch

When making an invalid name via cli flags

image

Closes: #154

Added git-branch-ref-format rules to checkout -b.
Added git-granch-ref-format as clack validator to fields.
Updated exit codes across the project to handle user ctrl+c exit or an error.
Updated git execSync usages to use arguments to be passed literally.

Closes: #154
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedtsx@​3.12.3 ⏵ 4.23.12100 +110081 -1894 +3100

View full report

@Everduin94
Everduin94 merged commit 9416b72 into main Aug 26, 2026
4 checks passed
github-actions Bot pushed a commit that referenced this pull request Aug 26, 2026
## [1.26.1](v1.26.0...v1.26.1) (2026-08-26)

### Bug Fixes

* **branch:** [#154](#154) branch ref format validation ([#155](#155)) ([9416b72](9416b72))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.26.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Branch names are not validated against git ref rules and checkout failures exit with code 0

1 participant