{"id":26699635,"url":"https://github.com/katkodeorg/telescope_worktree.nvim","last_synced_at":"2025-03-26T23:15:45.984Z","repository":{"id":284503384,"uuid":"955145367","full_name":"katkodeorg/telescope_worktree.nvim","owner":"katkodeorg","description":"Telescope extension to create git worktrees from local or remote branches","archived":false,"fork":false,"pushed_at":"2025-03-26T07:54:38.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T08:30:04.606Z","etag":null,"topics":["git","git-worktre","lua","neovim","nvim","telescope-ex","telescope-plugin"],"latest_commit_sha":null,"homepage":"https://github.com/katkodeorg/telescope_worktree.nvim","language":"Lua","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/katkodeorg.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":"2025-03-26T07:15:36.000Z","updated_at":"2025-03-26T07:59:20.000Z","dependencies_parsed_at":"2025-03-26T08:41:17.680Z","dependency_job_id":null,"html_url":"https://github.com/katkodeorg/telescope_worktree.nvim","commit_stats":null,"previous_names":["katkodeorg/telescope_worktree.nvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katkodeorg%2Ftelescope_worktree.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katkodeorg%2Ftelescope_worktree.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katkodeorg%2Ftelescope_worktree.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/katkodeorg%2Ftelescope_worktree.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/katkodeorg","download_url":"https://codeload.github.com/katkodeorg/telescope_worktree.nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749906,"owners_count":20666086,"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":["git","git-worktre","lua","neovim","nvim","telescope-ex","telescope-plugin"],"created_at":"2025-03-26T23:15:45.481Z","updated_at":"2025-03-26T23:15:45.959Z","avatar_url":"https://github.com/katkodeorg.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telescope_worktree.nvim\n\n*telescope_worktree* is a [Telescope](https://github.com/nvim-telescope/telescope.nvim) extension that searches a Git branch (Remote or local) and creates a new worktreee in the directory specified.\n\n\u003cimg width=\"1440\" alt=\"image\" src=\"https://github.com/user-attachments/assets/529ce3bf-889d-40b4-afad-96bb4efbb783\" /\u003e\n\n\nThe [telescope_worktree.nvim](https://github.com/katkodeorg/telescope_worktree.nvim) extension is excellent for working with feature branches, where changing the branch requires a build or compile to work with the changes. It leverages git worktrees to work on multiple branches simultaneously and independently.\n\n\nThe extension uses this command to create a [git-worktree](https://git-scm.com/docs/git-worktree) from the remote branch\n```bash\ngit worktree add --track -b \u003cbranch\u003e \u003cpath\u003e \u003cremote\u003e/\u003cbranch\u003e\n```\n\n## Installation \n\nYou can install these plugin using your favorite vim package manager, e.g.\n[vim-plug](https://github.com/junegunn/vim-plug) and\n[lazy](https://github.com/folke/lazy.nvim).\n\n**lazy**:\n```lua\n{ 'katkodeorg/telescope_worktree.nvim' },\n```\n\n**vim-plug**\n```VimL\nPlug 'https://github.com/katkodeorg/telescope_worktree.nvim'\n```\n\n\n## Usage\n\nActivate the `telescope_worktree.nvim` extension by adding\n\n```lua\n{\n    'nvim-telescope/telescope.nvim',\n    dependencies = {\n--     ...\n      { 'katkodeorg/telescope_worktree.nvim' },\n--     ...\n    },\n--  ...\n}\n```\n\nSomewhere after your `require('telescope').setup()` call add:\n```lua\npcall(require('telescope').load_extension, 'telescope_worktree')\n```\n\nExample to bind it to `\u003cleader\u003ewt` use:\n\n```lua\nlocal extensions = require('telescope').extensions\nvim.keymap.set('n', '\u003cleader\u003ewt', function()\n  extensions.telescope_worktree.create_worktree()\nend, { desc = '[W]ork tree [C]reate' })\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatkodeorg%2Ftelescope_worktree.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkatkodeorg%2Ftelescope_worktree.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkatkodeorg%2Ftelescope_worktree.nvim/lists"}