Dev Utils
Git Branch Name
Generate standardized git branch names from descriptions.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Git Branch Name and press Return.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Generate, or ⌘↵.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| Branch typeBranch type prefix | feature/, bugfix/, hotfix/, release/, chore/, docs/, refactor/, test/, None | feature/ |
| Word separatorCharacter between words | -, _, / | - |
| LowercaseConvert to lowercase | On or off | On |
| Include dateAdd date prefix (YYYY-MM-DD) | On or off | Off |
| Username prefixOptional username prefix | Text (e.g. e.g., jsmith) | — |
| Max lengthMaximum branch name length | 20–100 | 50 |
Example
Real output from Devly, with the default options.
Input
Fix login redirect when the session expires
Branch name
feature/fix-login-redirect-when-the-session
Length
43 characters
Create command
git checkout -b feature/fix-login-redirect-when-the-session
Alternatives
bugfix/fix-login-redirect-when-the-session-expires hotfix/fix-login-redirect-when-the-session-expires
From Terminal
With the free command-line tool installed:
Terminal
devly gitbranch "Fix login redirect when the session expires" # or pipe text in pbpaste | devly gitbranch
Quick Switch also finds it by: git, branch, name, feature, jira, issue.
More Dev Utils tools
QR CodeGenerate QR codes from text, URLs, or dataCron ParserParse cron expressions and show next execution timesSemver ComparatorParse, compare, and bump semantic versionsASCII ArtGenerate ASCII art text bannersHTTP StatusLook up HTTP status codes and their meaningsMIME TypeLook up MIME types and file extensions