ZIm/crates/git/src
Anthony Eid 9fa634f02f
git: Add option to branch from default branch in branch picker (#34663)
Closes #33700

The option shows up as an icon that appears on entries that would create
a new branch. You can also branch from the default by secondary
confirming, which the icon has a tooltip for as well.

We based the default branch on the results from this command: `git
symbolic-ref refs/remotes/upstream/HEAD` and fallback to `git
symbolic-ref refs/remotes/origin/HEAD`

Release Notes:

- Add option to create a branch from a default branch in git branch
picker

---------

Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-04 18:08:00 +00:00
..
blame.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
checkpoint.gitignore agent: Don't track large and common binary files (#31352) 2025-05-26 11:31:25 +00:00
commit.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00
git.rs git: Enable git stash in git panel (#32821) 2025-07-25 23:15:54 +00:00
hosting_provider.rs Allow configuring custom git hosting providers in project settings (#31929) 2025-06-03 12:23:01 -04:00
remote.rs Detect wider variety of usernames for SSH-based remotes (#21508) 2024-12-05 15:23:37 -08:00
repository.rs git: Add option to branch from default branch in branch picker (#34663) 2025-08-04 18:08:00 +00:00
status.rs Use anyhow more idiomatically (#31052) 2025-05-20 23:06:07 +00:00