{"id":22066859,"url":"https://github.com/tennashi/ddu-source-git","last_synced_at":"2025-07-23T16:09:01.880Z","repository":{"id":88573869,"uuid":"605593892","full_name":"tennashi/ddu-source-git","owner":"tennashi","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-30T06:14:11.000Z","size":78,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T19:11:09.114Z","etag":null,"topics":["ddu-kind","ddu-source","ddu-vim"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tennashi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-02-23T13:45:59.000Z","updated_at":"2023-07-30T08:22:45.000Z","dependencies_parsed_at":"2024-11-30T19:29:22.914Z","dependency_job_id":"4953c694-17e1-472e-a93d-ae0f5d8485f0","html_url":"https://github.com/tennashi/ddu-source-git","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tennashi/ddu-source-git","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tennashi%2Fddu-source-git","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tennashi%2Fddu-source-git/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tennashi%2Fddu-source-git/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tennashi%2Fddu-source-git/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tennashi","download_url":"https://codeload.github.com/tennashi/ddu-source-git/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tennashi%2Fddu-source-git/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266708514,"owners_count":23971946,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ddu-kind","ddu-source","ddu-vim"],"created_at":"2024-11-30T19:29:16.382Z","updated_at":"2025-07-23T16:09:01.831Z","avatar_url":"https://github.com/tennashi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ddu-source-git\n\n`git` source for `ddu.vim`\n\nThis source collects various item by using `git` command.\n\n# Required\n\n- [vim-denops/denops.vim](https://github.com/vim-denops/denops.vim)\n- [Shougo/ddu.vim](https://github.com/Shougo/ddu.vim)\n- [git/git](https://github.com/git/git)\n\n# Supported sources\n\n- `git_ref`: `git show-ref`\n- `git_status`: `git status`\n\n# Supported actions\n\n## `git_branch` kind\n\n- `switch`: `git switch \u003cbranch_name\u003e`\n- `create`: `git branch \u003cbranch_name\u003e`\n- `tag`: `git tag \u003ctag_name\u003e \u003cbranch_name\u003e`\n- `delete`: `git branch --delete \u003cbranch_name\u003e`\n- `push`: `git push --set-upstream \u003cremote_name\u003e \u003cbranch_name\u003e`\n- `pull`: `git pull --set-upstream \u003cremote_name\u003e \u003cbranch_name\u003e`\n\n## `git_tag` kind\n\n- `switch`: `git switch --detach \u003ctag_name\u003e`\n- `create`: `git tag \u003ctag_name\u003e`\n- `delete`: `git tag --delete \u003ctag_name\u003e`\n\n## `git_index` kind\n\n- `restoreStaged`: `git restore --staged \u003cpath\u003e`\n- `commitAll`: `git commit`\n\n## `git_working_tree` kind\n\n- `add`: `git add \u003cpath\u003e`\n- `restore`: `git restore \u003cpath\u003e`\n\n# Example\n\n```vim\n\" Set default kind action.\ncall ddu#custom#patch_global({\n\\ 'kindOptions': {\n\\   'git_tag': {\n\\     'defaultAction': 'switch',\n\\   },\n\\   'git_branch': {\n\\     'defaultAction': 'switch',\n\\   },\n\\ },\n\\}\n\n\" Use git_ref source.\ncall ddu#start({'ui': 'ff', 'sources': [{'name': 'git_ref'}]})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftennashi%2Fddu-source-git","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftennashi%2Fddu-source-git","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftennashi%2Fddu-source-git/lists"}