Alvaro Parker and Cole Miller
e5660d25f1
git: Add git worktree picker ( #38719 )
...
Related discussions #26084
Worktree creations are implemented similar to how branch creations are
handled on the branch picker (the user types a new name that's not on
the list and a new entry option appears to create a new branch with that
name).
https://github.com/user-attachments/assets/39e58983-740c-4a91-be88-57ef95aed85b
With this picker you have a few workflows:
- Open the picker and type the name of a branch that's checked out on an
existing worktree:
- Press enter to open the worktree on a new window
- Press ctrl-enter to open the worktree and replace the current window
- Open the picker and type the name of a new branch or an existing one
that's not checked out in another worktree:
- Press enter to create the worktree and open in a new window. If the
branch doesn't exists, we will create a new one based on the branch you
have currently checked out. If the branch does exists then we create a
worktree with that branch checked out.
- Press ctrl-enter to do everything on the previous point but instead,
replace the current window with the new worktre.
- Open the picker and type the name of a new branch or an existing one
that's not checked out in another worktree:
- If a default branch is detected on the repo, you can create a new
worktree based on that branch by pressing ctrl-enter or
ctrl-shift-enter. The first one will open a new window and the last one
will replace the current one.
Note: If you preffer to not use the system prompt for choosing a
directory, you can set `"use_system_path_prompts": false` in zed
settings.
Release Notes:
- Added git worktree picker to open a git worktree on a new window or
replace the current one
- Added git worktree creation action
---------
Co-authored-by: Cole Miller <cole@zed.dev >
2025-11-03 21:38:00 -05:00
..
2025-11-03 19:25:15 +00:00
2025-11-02 18:11:21 +00:00
2025-11-03 19:25:15 +00:00
2025-10-29 19:35:16 +00:00
2025-11-03 19:25:15 +00:00
2025-10-27 10:05:50 +00:00
2025-10-19 15:52:28 +00:00
2025-11-03 22:54:28 -03:00
2025-10-20 08:35:28 -03:00
2025-10-17 18:58:14 +00:00
2025-10-24 18:19:53 +02:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 21:56:57 +02:00
2025-11-03 19:25:15 +00:00
2025-10-21 10:43:22 +00:00
2025-11-02 09:15:01 +01:00
2025-10-28 20:21:31 -04:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-29 16:41:43 +01:00
2025-11-03 14:50:34 -03:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-10-28 20:21:49 +00:00
2025-10-21 10:43:22 +00:00
2025-10-21 10:43:22 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 15:12:08 -08:00
2025-11-01 19:35:04 +00:00
2025-10-29 22:16:13 -03:00
2025-11-03 19:25:15 +00:00
2025-10-30 13:10:19 +00:00
2025-10-17 18:58:14 +00:00
2025-10-28 16:15:44 -03:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-24 13:25:58 -06:00
2025-10-23 21:04:22 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-01 17:30:13 -04:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-31 01:53:46 +00:00
2025-11-03 20:47:39 +01:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-10-23 14:13:35 -04:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-10-21 10:43:22 +00:00
2025-11-03 22:42:26 +00:00
2025-10-22 17:55:26 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 16:13:03 -07:00
2025-09-11 13:56:06 -07:00
2025-10-31 21:18:22 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 03:54:47 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 12:07:13 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 21:38:00 -05:00
2025-10-20 10:30:06 +00:00
2025-10-17 18:58:14 +00:00
2025-10-20 23:54:56 +03:00
2025-11-03 21:38:00 -05:00
2025-11-03 07:51:04 +01:00
2025-11-03 21:38:00 -05:00
2025-10-30 17:40:56 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 21:03:18 +00:00
2025-10-17 18:58:14 +00:00
2025-10-26 13:24:26 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 22:22:50 -03:00
2025-10-26 13:24:26 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 20:47:39 +01:00
2025-11-03 19:25:15 +00:00
2025-11-03 19:25:15 +00:00
2025-10-21 10:43:22 +00:00
2025-10-31 18:12:02 +00:00
2025-10-17 18:58:14 +00:00
2025-10-22 19:52:38 +00:00
2025-10-31 01:53:46 +00:00
2025-11-03 14:38:05 -08:00
2025-10-22 19:52:38 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-29 11:07:23 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-20 17:20:09 +00:00
2025-10-17 18:58:14 +00:00
2025-10-26 13:24:26 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 21:56:57 +02:00
2025-11-03 22:01:52 +00:00
2025-10-17 18:58:14 +00:00
2025-10-27 15:24:44 +00:00
2025-10-31 04:26:36 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 21:38:00 -05:00
2025-10-31 13:55:08 +00:00
2025-10-17 18:58:14 +00:00
2025-10-29 16:27:30 +00:00
2025-11-03 21:38:00 -05:00
2025-11-03 21:38:00 -05:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 10:50:05 +00:00
2025-11-03 19:25:15 +00:00
2025-10-28 14:45:27 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 19:25:15 +00:00
2025-10-24 07:52:51 -04:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 14:50:34 -03:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 21:03:18 +00:00
2025-10-27 10:13:26 -04:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 21:03:18 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-29 18:49:39 +01:00
2025-10-17 18:58:14 +00:00
2025-10-28 03:00:55 -04:00
2025-10-24 18:19:53 +02:00
2025-11-03 15:25:44 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-31 15:01:50 +00:00
2025-10-31 15:01:50 +00:00
2025-11-03 19:25:15 +00:00
2025-10-23 04:23:25 +05:30
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-02 07:35:11 +00:00
2025-10-22 19:52:38 +00:00
2025-11-03 21:03:18 +00:00
2025-10-24 14:03:01 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 10:50:05 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 19:25:15 +00:00
2025-10-17 18:58:14 +00:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 21:38:00 -05:00
2025-10-17 18:58:14 +00:00
2025-11-03 19:25:15 +00:00
2025-11-03 15:12:08 -08:00
2025-11-03 15:12:08 -08:00
2025-11-03 15:12:08 -08:00
2025-10-29 18:49:39 +01:00
2025-10-17 18:58:14 +00:00