{"id":23740000,"url":"https://github.com/jharrilim/git-b","last_synced_at":"2026-05-27T00:02:20.866Z","repository":{"id":60680373,"uuid":"544649138","full_name":"jharrilim/git-b","owner":"jharrilim","description":"git branch fuzzy picker","archived":false,"fork":false,"pushed_at":"2026-05-22T18:11:32.000Z","size":1166,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-22T20:53:29.480Z","etag":null,"topics":["b","checkout","fuzzy","git-branch"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jharrilim.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":"2022-10-03T01:16:15.000Z","updated_at":"2026-05-22T18:11:42.000Z","dependencies_parsed_at":"2023-01-20T18:02:07.305Z","dependency_job_id":null,"html_url":"https://github.com/jharrilim/git-b","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jharrilim/git-b","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fgit-b","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fgit-b/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fgit-b/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fgit-b/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jharrilim","download_url":"https://codeload.github.com/jharrilim/git-b/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jharrilim%2Fgit-b/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33543973,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"ssl_error","status_checked_at":"2026-05-26T15:22:15.568Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["b","checkout","fuzzy","git-branch"],"created_at":"2024-12-31T09:41:28.638Z","updated_at":"2026-05-27T00:02:20.860Z","avatar_url":"https://github.com/jharrilim.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git b\n\nFuzzy picker for checking out git branches\n\n![demo.gif](demo.gif)\n\n## Installation instructions\n\n### Install on Mac\n\n```sh\nbrew tap jharrilim/git-b\nbrew install git-b\n```\n\n### Install on Linux\n\n- Download a linux release from the releases page (it'll have an `unknown-linux-gnu.tar.gz` suffix)\n- Unpack with `tar xf git-b-v1.0.0-x86_64-unknown-linux-gnu.tar.gz` (includes `git-b` and `share/man/man1/git-b.1`)\n\n### Install from source\n\n\u003e 🦀 You'll need to have [rust](https://rustup.rs/) installed\n\n```sh\ngit clone https://github.com/jharrilim/git-b.git\ncd git-b\ncargo install --path .\n```\n\n### Configure git\n\nTo configure a `git b` alias, run:\n\n```sh\ngit config --global alias.b '!git-b'\n```\n\n\n## Usage\n\nAnywhere within a project under git source control, you may run `git-b`.\nYou may also configure a git alias for it, such as `git b`.\n\n```sh\ngit-b              # open the fuzzy branch picker\ngit-b feature      # checkout the first branch matching \"feature\"\ngit-b -            # checkout the last checked-out branch\ngit-b ~2           # checkout the 2nd-to-last checked-out branch\ngit-b -b new-name  # git checkout -b new-name\nman git-b          # after installing the man page (see below)\ngit-b --no-color   # disable picker colors for this run\n```\n\n### Colors\n\nPicker lines show the branch name, short hash, and commit subject in separate colors. Defaults are cyan, yellow, and white.\n\nCreate `~/.git-b/config.toml`:\n\n```toml\n[colors]\nenabled = true\nname = \"cyan\"\nhash = \"yellow\"\nsubject = \"white\"\n```\n\nSet `enabled = false` to turn colors off globally. Supported color names include `red`, `green`, `blue`, `magenta`, `cyan`, `gray`, and `bright-*` variants (for example `bright-green`). Use `default` or `none` to leave a field unstyled.\n\nCLI flags override the config file for a single run: `--no-color`, or `--color NAME:HASH:SUBJECT` (for example `cyan:yellow:white`).\n\n### Man page\n\nBuilding from source generates `man/git-b.1` via [clap_mangen](https://crates.io/crates/clap_mangen). Install it with:\n\n```sh\ncargo build --release\nsudo mkdir -p /usr/local/share/man/man1\nsudo cp man/git-b.1 /usr/local/share/man/man1/\n```\n\n---\n\n## Compiling from Mac to Linux\n\nDue to [rust/issues/34282](https://github.com/rust-lang/rust/issues/34282), you'll need to run this\nbefore running the `build` script:\n\n```sh\nbrew tap SergioBenitez/osxct\nbrew install x86_64-unknown-linux-gnu\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fgit-b","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjharrilim%2Fgit-b","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjharrilim%2Fgit-b/lists"}