{"id":13902973,"url":"https://github.com/iamthen0ise/better-branch","last_synced_at":"2025-07-18T00:32:52.832Z","repository":{"id":47465602,"uuid":"385005746","full_name":"iamthen0ise/better-branch","owner":"iamthen0ise","description":"Interactive CLI helper for creating git branches with JIRA Links and some text","archived":false,"fork":false,"pushed_at":"2022-08-18T19:48:02.000Z","size":53,"stargazers_count":13,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"stable","last_synced_at":"2024-08-07T22:35:29.895Z","etag":null,"topics":["cli","git","go","golang","jira","utils"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamthen0ise.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-11T17:00:18.000Z","updated_at":"2024-07-17T20:41:53.000Z","dependencies_parsed_at":"2022-09-23T08:11:53.672Z","dependency_job_id":null,"html_url":"https://github.com/iamthen0ise/better-branch","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamthen0ise%2Fbetter-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamthen0ise%2Fbetter-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamthen0ise%2Fbetter-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamthen0ise%2Fbetter-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamthen0ise","download_url":"https://codeload.github.com/iamthen0ise/better-branch/tar.gz/refs/heads/stable","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226320838,"owners_count":17606365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","git","go","golang","jira","utils"],"created_at":"2024-08-06T22:01:31.926Z","updated_at":"2024-11-25T11:31:07.353Z","avatar_url":"https://github.com/iamthen0ise.png","language":"Go","funding_links":[],"categories":["cli"],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/iamthen0ise/better-branch/branch/stable/graph/badge.svg?token=BTTO7509NG)](https://codecov.io/gh/iamthen0ise/better-branch)\n[![Build \u0026 Test](https://github.com/iamthen0ise/better-branch/actions/workflows/test.yml/badge.svg)](https://github.com/iamthen0ise/better-branch/actions/workflows/test.yml)\n\n# bb (better-branch)\nInteractive CLI helper for creating git branches with JIRA Links and some text\n\n## Still in development?\nYes\n\n## How to install?\n`bb` do not use any 3rd party packages, so just build a binary:\n```shell\ngo build\n```\nThen move binary `bb` in some convient place, and add it to your PATH:\n```shell\nPATH=\u003cpath to bb\u003e:$PATH\n```\n\n## How it works?\n[![asciicast](https://asciinema.org/a/d4NPyH679pdgjJVfLQpV4SOf7.svg)](https://asciinema.org/a/d4NPyH679pdgjJVfLQpV4SOf7)\nThis tiny utility was made when i completely bored of creating JIRA branches on Web interface and pulling it to local.\n\nJust call `bb`, then Enter JIRA link and/or text, then create a new branch from.\n\nThere are multiple ways to create branch name with Jira and/or text description.\n### Interactive\nJust launch without any args. When asked for values, enter them. If name is beautiful for you, create a new branch.\n\n### Pass arguments\n```shell\n  -f \n        Create `feature/*` branch\n  -h\n        Create `hotfix/*` branch\n  -b\n        Create `bugfix/*` branch\n  -r\n        Create `release/*` branch\n  -c\n    \tCheckout to new branch (default true (default true)\n  -i\n    \tJIRA Link or issue\n  -t\n    \tCustom Issue Text\n```\nArguments could be passed with keywords or shorthand.\n\n```shell\nbb -f -i https://some.jira.cloud/issues/ABC-123 -t Add big button\n\n# or\nbb f https://some.jira.cloud/issues/ABC-123  Add big button\n\n# or even\nbb https://some.jira.cloud/issues/ABC-123\n```\n\nNew branch is checkouted after creation by default.\n\n## OS support\nBuilds are made for Windows, OSX and Linux by Goreleaser. But code wasn't tested on Linux and Windows.\n\n## TODO:\n- [ ] Go back, add more text, and other interactive mode impovements\n- [ ] Set autocheckout true/false with interactive mode\n- [x] Support prefixes like `feature/`\n- [ ] Support other popular issue trackers like YouTrack, Asana, etc\n- [ ] Save screen space in interactive mode by putting hints onto background\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamthen0ise%2Fbetter-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamthen0ise%2Fbetter-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamthen0ise%2Fbetter-branch/lists"}