π New Feature: Custom Prefix Support
This release adds the highly requested custom prefix functionality while maintaining full backward compatibility.
β¨ What's New
- π― Custom Prefix Option: Use
--prefixflag to specify custom branch prefixes - π Smart Fallback: Automatically falls back to GitHub username when no custom prefix is specified
- π’ Clear Feedback: Shows which prefix is being used during execution
π Usage Examples
# Using custom initials (great for teams!)
gh develop-with-prefix --prefix sc 123 # Creates: sc/123-issue-title
# Using team abbreviations
gh develop-with-prefix --prefix fe 456 # Creates: fe/456-issue-title
# Backward compatibility - works exactly as before
gh develop-with-prefix 789 # Creates: username/789-issue-titleπ Perfect For Teams
This update is especially useful for teams that prefer:
- Initials:
jd/123-featureinstead ofjohn-doe/123-feature - Team codes:
fe/123-ui-updatefor frontend team - Short identifiers: Any custom prefix you prefer!
π§ Technical Improvements
- Enhanced argument parsing with proper validation
- Improved error handling and user feedback
- Updated documentation with comprehensive examples
- Maintains 100% backward compatibility
π Updated Documentation
- Added
--prefixflag to help documentation - Updated README with usage scenarios and examples
- Clear examples for common use cases
π Addresses
- Fixes #1: Optional custom prefix with fallback to GitHub username
Installation: gh extension install razekmh/gh-develop-with-prefix
Happy branching! πΏ