{"id":39597628,"url":"https://github.com/giannimassi/git-checkout-branch","last_synced_at":"2026-01-18T07:49:59.112Z","repository":{"id":57606057,"uuid":"275155576","full_name":"giannimassi/git-checkout-branch","owner":"giannimassi","description":"A cli application for interactively checking out branches","archived":false,"fork":false,"pushed_at":"2020-11-23T08:48:10.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T03:58:08.370Z","etag":null,"topics":["branch","cli","git","golang","golang-application","golang-tools","interactive","version-control","version-control-s","versioning"],"latest_commit_sha":null,"homepage":"","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/giannimassi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":"giannimassi"},"created_at":"2020-06-26T12:53:47.000Z","updated_at":"2024-06-20T03:58:08.371Z","dependencies_parsed_at":"2022-09-26T16:40:35.032Z","dependency_job_id":null,"html_url":"https://github.com/giannimassi/git-checkout-branch","commit_stats":null,"previous_names":["giannimassi/git-checkout-interactive"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/giannimassi/git-checkout-branch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannimassi%2Fgit-checkout-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannimassi%2Fgit-checkout-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannimassi%2Fgit-checkout-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannimassi%2Fgit-checkout-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giannimassi","download_url":"https://codeload.github.com/giannimassi/git-checkout-branch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giannimassi%2Fgit-checkout-branch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28533180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":["branch","cli","git","golang","golang-application","golang-tools","interactive","version-control","version-control-s","versioning"],"created_at":"2026-01-18T07:49:59.039Z","updated_at":"2026-01-18T07:49:59.101Z","avatar_url":"https://github.com/giannimassi.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build](https://github.com/giannimassi/git-checkout-branch/workflows/Test/badge.svg?branch=master)\n\n# git-checkout-branch\n\n## A cli application for interactively checking out branches\n\n[![asciicast](https://asciinema.org/a/6nK7EchQbDNJzD9y0Cb2dIPgv.svg)](https://asciinema.org/a/6nK7EchQbDNJzD9y0Cb2dIPgv)\n\n## Installation\n\n```sh\ngo get -u github.com/giannimassi/git-checkout-interactive\n```\n\nIf $GOBIN is available in your $PATH the command can be used as `git checkout-interactive`.\n\n### Optional\n\nYou can also add the following to your `.gitconfig` to provide a simpler to use alias for this command:\n\n```ini\n[alias]\n    cb = checkout-interactive --sort=-committerdate\n```\n\nAfter adding this alias you can simply call this to choose a branch from the latest ones:\n\n```sh\ngit cb\n```\n\nThis is just an example, you can add flags and arguments as needed in the alias.\n\n## Usage\n\n```sh\ngit checkout-interactive \u003cgit branch arguments and flags\u003e\n```\n\nDisplays the current branch and allows to circle through branches listed with `git branch` and the provided flag and arguments.\n\n- press down/left/j to select next branch\n- press up/right/h to select previous branch\n- press enter to checkout selected branch\n- press ESC or ctrl-c to exit without any changes\n\n### Examples\n\n```sh\ngit checkout-interactive\n```\n\nChoose a branch to checkout among the local branches.\n\n```sh\ngit checkout-interactive -a\n```\n\nChoose a branch to checkout among all branches, both local and remote.\n\n```sh\ngit checkout-interactive --sort=-committerdate\n```\n\nChoose a branch to checkout among the local branches listed by most recent commit.\n\n\n#### Have fun versioning!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannimassi%2Fgit-checkout-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiannimassi%2Fgit-checkout-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiannimassi%2Fgit-checkout-branch/lists"}