{"id":16779464,"url":"https://github.com/vvatanabe/gitb","last_synced_at":"2025-10-10T01:08:18.936Z","repository":{"id":51348535,"uuid":"187825704","full_name":"vvatanabe/gitb","owner":"vvatanabe","description":" A command line tool for using Backlog's git comfortably.","archived":false,"fork":false,"pushed_at":"2021-06-03T01:30:26.000Z","size":88,"stargazers_count":32,"open_issues_count":7,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T16:11:42.852Z","etag":null,"topics":["backlog","cli","git","golang"],"latest_commit_sha":null,"homepage":"https://gitb.vvatanabe.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vvatanabe.png","metadata":{"files":{"readme":"README.ja.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}},"created_at":"2019-05-21T11:41:56.000Z","updated_at":"2025-03-19T03:53:17.000Z","dependencies_parsed_at":"2022-09-04T17:11:33.452Z","dependency_job_id":null,"html_url":"https://github.com/vvatanabe/gitb","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/vvatanabe/gitb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvatanabe%2Fgitb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvatanabe%2Fgitb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvatanabe%2Fgitb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvatanabe%2Fgitb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vvatanabe","download_url":"https://codeload.github.com/vvatanabe/gitb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vvatanabe%2Fgitb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002405,"owners_count":26083373,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backlog","cli","git","golang"],"created_at":"2024-10-13T07:30:05.899Z","updated_at":"2025-10-10T01:08:18.923Z","avatar_url":"https://github.com/vvatanabe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitb [![Build Status](https://travis-ci.org/vvatanabe/gitb.svg?branch=master)](https://travis-ci.org/vvatanabe/gitb) [![Coverage Status](https://coveralls.io/repos/github/vvatanabe/gitb/badge.svg?branch=master)](https://coveralls.io/github/vvatanabe/gitb?branch=master)\n\nBacklogのgitを快適に使うためのコマンドラインツール。\n\n## 概要\n\n`gitb`コマンドはBacklogのgitを快適に使うのに役立ちます。たとえば、PR、issue、branch、tagsなどをブラウザで1回のアクションで開くことができます。\n\n`gitb`コマンドはすべての`git`コマンドをラップしているので、 `gitb fetch`、`gitb pull`、 `gitb push`のように` gitb`コマンドを使って`git-command`を実行することができます。\n\n接尾辞Bには複数の意味があります。Backlog、Browser、Bダッシュ。\n\n## インストール\n\n### Homebrew\n\nMacOSで使用可能なパッケージマネージャであるHomebrewでインストールできます。\n\n```\n$ brew tap vvatanabe/gitb\n$ brew install gitb\n```\n\n### Go\n\nGo言語(go1.13+)をインストールしていれば、go getコマンドでもインストールできます。\n\n```\n$ go get github.com/vvatanabe/gitb\n```\n\n### GitHub Release Page\n\nビルドされたバイナリはGithubのリリースで利用可能です:  \nhttps://github.com/vvatanabe/gitb/releases\n\n## 使い方\n\n### プルリクエスト\n\n現在のリポジトリに対するBacklogのプルリクエストに関連するコマンドです。\n\n__COMMANDS:__\n\n`gitb pr [-s \u003cSTATE\u003e]`\n\n\u0026emsp;現在のリポジトリのプルリクエスト一覧ページを開きます。\n\n`gitb pr show [\u003cPR-ID\u003e]`\n\n\u0026emsp;指定した`\u003cPR-ID\u003e`のプルリクエストのページを開きます。`\u003cPR-ID\u003e`を指定しない時は、現在のブランチに関連したプルリクエストのページを開きます。\n\n`gitb pr add [-b \u003cBASE\u003e]`\n\n\u0026emsp;現在のブランチでプルリクエストを追加するページを開きます。\n\n`gitb pr blame [git blame command options] \u003cPATH\u003e`\n\n\u0026emsp;指定した`\u003cPATH\u003e`の変更に関連するプルリクエストIDを行単位で表示します。`git blame`コマンドのオプションを適用できます。\n\n__OPTIONS:__\n\n`-s, --state \u003cSTATE\u003e`\n\n\u0026emsp;STATEでプルリクエストをフィルタリングします。値: \"open\" (初期値), \"closed\", \"merged\", \"all\".\n\n`-b, --base \u003cBASE\u003e`\n\n\u0026emsp;BASEはプルリクエストのベースとなるブランチ名です。デフォルトは空です。\n\n### 課題\n\n現在のリポジトリに対するBacklogの課題に関連するコマンドです。\n\n__COMMANDS:__\n\n`gitb issue [-s \u003cSTATE\u003e]`\n\n\u0026emsp;現在のプロジェクトの課題一覧ページを開きます。\n\n`gitb issue show`\n\n\u0026emsp;現在のブランチに関連する課題ページを開きます。\n\n`gitb issue add`\n\n\u0026emsp;現在のプロジェクトに課題を追加するページを開きます。\n\n__OPTIONS:__\n\n`-s, --state \u003cSTATE\u003e`\n\n\u0026emsp;STATEで課題をフィルタリングします。 値: \"all\", \"open\", \"in_progress\", \"resolved\", \"closed\", \"not_closed\" (初期値).\n\n### Browse\n\n現在のリポジトリに関するGitページ（ブランチ、ツリー、タグ等）を開きます。\n\n__COMMANDS:__\n\n`gitb browse branch`\n\n\u0026emsp;現在のリポジトリのブランチ一覧ページを開きます。\n\n`gitb browse tag`\n\n\u0026emsp;現在のリポジトリのタグ一覧ページを開きます。\n\n`gitb browse tree`\n\n\u0026emsp;現在のブランチのツリーページを開きます。\n\n`gitb browse history`\n\n\u0026emsp;現在のブランチの履歴ページを開きます。\n\n`gitb browse network`\n\n\u0026emsp;現在のブランチのネットワークページを開きます。\n\n`gitb browse repo`\n\n\u0026emsp;現在のプロジェクトのリポジトリ一覧ページを開きます。\n\n`gitb browse show`\n\n\u0026emsp;与えられたファイルまたはディレクトリの該当するページを開きます。\n\n`gitb browse commit \u003chash\u003e`\n\n\u0026emsp;与えられたハッシュのコミットページを開きます。\n\n## エイリアス\n\n`gitb \u003ccommand\u003e`を`git \u003ccommand\u003e`として使いたい場合は、.XXXrc（.bashrc、.zshrc、config.fish）に以下のエイリアスを書いてください。\n\n### Bash, Zsh\n\n```\nfunction git(){\n  gitb \"$@\"\n}\n```\n\n### Fish\n\n```\nfunction git\n  gitb $argv\nend\n```\n\n## 謝辞\n\n- Inspired by [github.com/github/hub](https://github.com/github/hub)\n- `gitb pr blame` is a Golang port of [kazuho/git-blame-pr.pl](https://gist.github.com/kazuho/eab551e5527cb465847d6b0796d64a39)\n\n\n## バグとフィードバック\n\nバグ、質問、ディスカッションについてはGithub Issuesを利用してください。\n\n## ライセンス\n\n[MIT License](http://www.opensource.org/licenses/mit-license.php)\n\n## 著者\n\n[vvatanabe](https://github.com/vvatanabe)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvatanabe%2Fgitb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvvatanabe%2Fgitb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvvatanabe%2Fgitb/lists"}