Skip to content

Conversation

@JNLei
Copy link

@JNLei JNLei commented Apr 7, 2024

Detect current branch name and if it matches an available commit type, replace the commit type to the top of selections

detect current branch name and if it match a available commit type, replace the commit type to the top of selections

Signed-off-by: JNLei <jason921012273@gmail.com>
mritd added a commit that referenced this pull request Jan 4, 2026
- implement branch type detection logic in commit model
- add tests for new selector model with initial types
- enhance flow by providing initial context based on branch configuration
- update README with documentation and examples
- add new configuration option `branch-auto-detect`
- modify `ParseBranchType` function to extract commit types from branch names
- add test file for `ParseBranchType` function

Implementation #28

Signed-off-by: kovacs <mritd@linux.com>
@mritd
Copy link
Owner

mritd commented Jan 4, 2026

v3.0.2 has been implemented.

@mritd mritd closed this Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants