{"id":34222186,"url":"https://github.com/untcha/go-branchy","last_synced_at":"2026-03-12T17:34:44.900Z","repository":{"id":175845057,"uuid":"651153487","full_name":"untcha/go-branchy","owner":"untcha","description":"CLI helper which generates/creates git branch names from JIRA tickets","archived":false,"fork":false,"pushed_at":"2024-04-27T18:20:25.000Z","size":1274,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-01T00:25:45.402Z","etag":null,"topics":["git","go","golang","jira"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/untcha.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T16:00:23.000Z","updated_at":"2024-04-27T18:20:28.000Z","dependencies_parsed_at":"2024-01-27T12:27:55.644Z","dependency_job_id":"e0769316-cff0-452d-a1c6-b6a1b1924b40","html_url":"https://github.com/untcha/go-branchy","commit_stats":null,"previous_names":["untcha/go-branchy"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/untcha/go-branchy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untcha%2Fgo-branchy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untcha%2Fgo-branchy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untcha%2Fgo-branchy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untcha%2Fgo-branchy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/untcha","download_url":"https://codeload.github.com/untcha/go-branchy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/untcha%2Fgo-branchy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30435314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:34:45.044Z","status":"ssl_error","status_checked_at":"2026-03-12T14:09:33.793Z","response_time":114,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git","go","golang","jira"],"created_at":"2025-12-15T23:33:12.479Z","updated_at":"2026-03-12T17:34:44.888Z","avatar_url":"https://github.com/untcha.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable --\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"go-branchy logo\" src=\"assets/branchy-logo-transparent.png\" height=\"150\" /\u003e\n  \u003ch3 align=\"center\"\u003ego-branchy\u003c/h3\u003e\n  \u003cp align=\"center\"\u003eWritten in Go... Logo authored by Midjourney\u003c/p\u003e\n\u003c/p\u003e\n\n---\n\n`go-branchy` or `branchy` is a CLI helper which generates/creates git branch\nnames from JIRA tickets (summary field) and automatically copies the branch name\nto the clipboard.\n\n## Motivation\n\nThis project has two motivational aspects. The first is that we use a common\npattern to create git branch names at work (and we use JIRA... of course). \nSo this is why I created a little tool to create a branch name by just giving\nthe branch type (e.g. feat or fix) and a JIRA issue (e.g. ABC-1234).\nThe result should be the following:\n\n``` shell\nfeat/ABC-1234/super-cool-branch-name-created-from-a-jira-summary\n```\n\nThe second aspect is the learning aspect. This little tool and the whole repository\nseem to be a little overloaded for what it really achieves. But I had different\ngoals on what I wanted to learn.\nThese where the things I wanted to learn or at least try out:\n\n* Building a CLI tool with [Cobra](https://cobra.dev/)\n* Using [Task](https://taskfile.dev/) instead of a `Makefile`\n* Automating the release process with [GoReleaser](https://goreleaser.com/) and [GitHub Actions](https://github.com/features/actions)\n* Generating the `CHANGELOG.md` automatically with [git-chglog](https://github.com/git-chglog/git-chglog)\n* Generating a beautiful logo with `ChatGPT` and `Midjourney`\n* And of course also utilizing `GitHub Copilot`\n\n## Installation\n\n### Go\n\n``` shell\ngo install github.com/untcha/go-branchy@latest\n```\n\n### Download the binary\n\nYou can download the binary from the [GitHub releases page](https://github.com/untcha/go-branchy/releases) and add it to your `$PATH`\n\nThe `go-branchy_\u003cversion\u003e_checksums.txt` file contains the SHA-256 checksum for each file.\n\n## Configuration\n\nIn order to use `go-branchy` you need to export the following two environment\nvariables:\n\n``` shell\nexport BRANCHY_JIRA_URL=\u003cthe-url-of-your-jira-instance\u003e\nexport BRANCHY_JIRA_TOKEN=\u003cyour-jira-personal-access-token\u003e\n```\n\n## Usage\n\nNow you can use `branchy` very simple:\n\n``` shell\ngo-branchy generate feat ABC-1234\n```\n\nor use the alias `g` instead of generate:\n\n``` shell\ngo-branchy g feat ABC-1234\n```\n\n### Help\n\n```\ngo-branchy help\n```\n\n```\nA little helper tool to create git branch names from JIRA tickets - written in Go\n\nBranchy is a CLI helper which generates/creates git branch names from JIRA tickets (summary field)\nand automatically copies the branch name to the clipboard (e.g. feat/ABC-1234/this-is-my-branch-name)\n\nUsage:\n  go-branchy [command]\n\nExamples:\ngo-branchy generate feat ABC-1234\ngo-branchy g fix ABC-1234\n\nAvailable Commands:\n  completion  Generate the autocompletion script for the specified shell\n  generate    Generate a branch name from a JIRA issue summary field\n  help        Help about any command\n  version     Print the CLI version\n\nFlags:\n  -h, --help   help for branchy\n\nUse \"go-branchy [command] --help\" for more information about a command.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtcha%2Fgo-branchy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funtcha%2Fgo-branchy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funtcha%2Fgo-branchy/lists"}