-
Notifications
You must be signed in to change notification settings - Fork 5.9k
git: Branch diff #40188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git: Branch diff #40188
Conversation
|
Oh my god. I want this so bad. I wanted this desperately this week. Thank you for pushing on this 🙏 |
Co-authored-by: Cole Miller <[email protected]>
Co-authored-by: Cole Miller <[email protected]>
Co-authored-by: Cole Miller <[email protected]>
Co-authored-by: Cole Miller <[email protected]>
8095334 to
f42fd49
Compare
0a00511 to
88914dc
Compare
|
This is wonderful, obvious improvement to this feature would be to be able to select the branch to diff with, or at least have a setting to specify it |
|
For anyone else coming here because this seems to pull up the wrong default branch, in my case it turned out to be because there was a different default branch in place at the point when I cloned the repository. Internally it looks like Zed calls The get your local clone to reflect the updated default branch of the origin: |
To add to this, ideally the branch could be dynamically determined. Users of stacked branch systems like Graphite often want to view the diff of the current branch against the parent branch. I'm a graphite user and I do this in the terminal using |
Note: It would be really nice if we could also show this information in the git panel, but the branch was getting long lived so I wanted to merge as is.
Release Notes:
git: Branch Difffrom the command palette