{"id":17238686,"url":"https://github.com/davvid/gcd","last_synced_at":"2025-04-14T02:32:04.723Z","repository":{"id":222625420,"uuid":"757927517","full_name":"davvid/gcd","owner":"davvid","description":"Git worktree navigator","archived":false,"fork":false,"pushed_at":"2024-02-18T05:16:00.000Z","size":2940,"stargazers_count":28,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T16:50:50.673Z","etag":null,"topics":["command-line-tool","git","navigation","worktrees"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/davvid.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,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"github":["davvid"],"patreon":"daveinthesky"}},"created_at":"2024-02-15T09:22:36.000Z","updated_at":"2025-03-09T01:01:15.000Z","dependencies_parsed_at":"2024-02-15T10:43:44.912Z","dependency_job_id":null,"html_url":"https://github.com/davvid/gcd","commit_stats":null,"previous_names":["davvid/gcd"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davvid%2Fgcd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davvid%2Fgcd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davvid%2Fgcd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davvid%2Fgcd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davvid","download_url":"https://codeload.github.com/davvid/gcd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248810905,"owners_count":21165199,"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":["command-line-tool","git","navigation","worktrees"],"created_at":"2024-10-15T05:46:25.364Z","updated_at":"2025-04-14T02:32:03.305Z","avatar_url":"https://github.com/davvid.png","language":"Shell","funding_links":["https://github.com/sponsors/davvid","https://patreon.com/daveinthesky"],"categories":[],"sub_categories":[],"readme":"# gcd - Git worktree navigator\n\n`gcd` lets you quickly navigate to Git worktrees on your filesystem.\n\n`cdg` lets you quickly navigate to directories within your current worktree.\n\n![Preview](gcd.gif)\n\n## Dependencies\n\n* [eza](https://github.com/eza-community/eza) (required)\n\n* [fzf](https://github.com/junegunn/fzf) (required)\n\n* [fd](https://github.com/sharkdp/fd) (optional)\n\n```bash\nsudo apt install eza fzf fd-find\n```\n\n## Installation\n\n* Clone this repository to `~/.config/git/gcd`:\n\n```bash\nmkdir -p ~/.config/git\ngit clone https://gitlab.com/davvid/gcd.git ~/.config/git/gcd\n```\n\n* Edit your `~/.bashrc` or `~/.zshrc` and add this snippet:\n\n```bash\nif test -f ~/.config/git/gcd/gcd.sh\nthen\n    source ~/.config/git/gcd/gcd.sh\nfi\n```\n\n## Configuration\n\n`gcd` searches for worktrees in `$HOME` by default.\n\n`gcd` can be configured to search in other directories by setting the\n`gcd.paths` git config variable:\n\n```bash\ngit config --global --add gcd.paths '$HOME/src'\ngit config --global --add gcd.paths '$HOME/dev'\n```\n\n`$VARIABLES` are expanded by `gcd` so that you can reuse your git configuration\nin more scenarios.\n\n`gcd` traverses two levels deep into the configured paths by default.\nYou can configure `gcd` to search deeper by setting the `gcd.depth` variable.\n\n```bash\ngit config --global gcd.depth 3\n```\n\n*NOTE*: higher depth values cause more disk IO and can have an impact on performance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavvid%2Fgcd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavvid%2Fgcd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavvid%2Fgcd/lists"}