{"id":22173990,"url":"https://github.com/hugginsio/git-view-work-item","last_synced_at":"2026-05-02T14:42:36.584Z","repository":{"id":202835880,"uuid":"705906256","full_name":"hugginsio/git-view-work-item","owner":"hugginsio","description":"Open your current work item in your browser using the current branch.","archived":false,"fork":false,"pushed_at":"2023-12-03T03:19:26.000Z","size":56,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T22:46:20.415Z","etag":null,"topics":["git","git-addons"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugginsio.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}},"created_at":"2023-10-16T23:42:30.000Z","updated_at":"2024-10-09T01:40:50.000Z","dependencies_parsed_at":"2023-12-03T04:20:01.564Z","dependency_job_id":"fe810329-ca92-4f7e-8cb7-89dbf886bb80","html_url":"https://github.com/hugginsio/git-view-work-item","commit_stats":null,"previous_names":["hugginsio/git-view-work-item"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugginsio%2Fgit-view-work-item","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugginsio%2Fgit-view-work-item/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugginsio%2Fgit-view-work-item/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugginsio%2Fgit-view-work-item/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugginsio","download_url":"https://codeload.github.com/hugginsio/git-view-work-item/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245325223,"owners_count":20596818,"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":["git","git-addons"],"created_at":"2024-12-02T07:36:24.351Z","updated_at":"2026-05-02T14:42:36.539Z","avatar_url":"https://github.com/hugginsio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-view-work-item\n\nGit add-on for opening work item details in your browser based on the current branch. You can also print the JSON properties to `stdout` for integration with other workflows.\nIt uses a regular expression to extract a work item identifier from the current branch name and inserts it into a URL via Go text templates.\n\nYou can configure the add-on's behavior through Git properties. See the following example:\n\n```gitconfig\n[git-view-work-item]\n    url = \"https://dev.azure.com/org/project/_workitems/edit/{{ .Identifier }}\"\n    regex = \"[0-9]+\"\n```\n\nThe following properties are available for you to insert into the URL:\n\n- `Directory`: the current directory name (but not the full path).\n- `Identifier`: the identifier extracted from the current branch name.\n- `Repository`: the repository name, taken from `remote.origin.url`.\n- `Url`: the URL of the repository, taken from `remote.origin.url`.\n\nYou can learn more about Go text templates in the [package documentation][go-text-templates].\n\n## Installation\n\n### Homebrew\n\n```\nbrew install hugginsio/tap/git-vwi\n```\n\n### Manual installation\n\n1. Navigate to the [releases page][github-releases] and download the appropriate binary for your system.\n2. Copy the `git-vwi` binary to somewhere on your PATH.\n3. Run `git vwi -h` in your terminal to validate.\n\n### Building from source\n\n1. Install the latest version of [Go][go-install].\n2. Install the latest version of [Task][task-install].\n3. Clone the repository.\n4. Run `task install`.\n\n\u003c!-- References --\u003e\n[go-text-templates]: https://pkg.go.dev/text/template\n[github-releases]: https://github.com/hugginsio/git-view-work-item/releases\n[go-install]: https://go.dev/dl/\n[task-install]: https://taskfile.dev/installation/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugginsio%2Fgit-view-work-item","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugginsio%2Fgit-view-work-item","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugginsio%2Fgit-view-work-item/lists"}