TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Native Git Support in Zed

48 pointsby DASD2 months ago

5 comments

freedomben2 months ago
This may be borderline off topic, but I don't really understand the desire to have git support in your text editor. It can be very nice for viewing blames, but for managing commits and stuff it has always felt a bit clunky to me. Maybe that is because of my workflow however. I typically review every line being staged by using `git add -p` so that I commit exactly what I intend to commit, and that workflow doesn't really mesh well with an editor.
评论 #43348170 未加载
评论 #43349304 未加载
评论 #43348138 未加载
评论 #43348464 未加载
评论 #43349662 未加载
aequitas2 months ago
I&#x27;ve been using Zed for a while now as it is the only editor that could replace TextMate for me in terms of having a native macOS feel but that does incorporate more IDE like features TextMate misses (like lsp and treesitter).<p>I welcome proper Git support, because it would mean fewer switches between editor and terminal (also the in IDE terminal just doesn&#x27;t work). I hope they nailed it with the small details like they do for most of the application. I&#x27;ve been using GitX in the past and recently Lazygit as my main Git interface. Especially the line by line staging akin to `git add -p` would be welcome, but I read they are not quiet there yet?<p>I&#x27;m curious if it&#x27;l allow a workflow where amending to previous commits is easy. This workflow is really easy in Lazygit (using fixups and autosquash under the hood) and makes organising code into separate topic commits without much additional effort. And since Zed is all on the AI train they might incorporate something like git-absorb to automagically amend small changes into the commits they are related to.<p>I&#x27;d also love if they incorporate a proper overview of the Git tree, currently `tig --all` is my goto for that. Or one that allows you to drag and drop branches and rebases previews like Ungit (<a href="https:&#x2F;&#x2F;youtu.be&#x2F;hkBVAi3oKvo?t=236" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;hkBVAi3oKvo?t=236</a>) as that was the point that Git really started to make sense for me.
LinearEntropy2 months ago
&gt; because it&#x27;s 2025—Zed can ask your preferred LLM to write the message for you<p>Zed seems to have a lot going for it. Though the everpresent AI push has me concerned to invest my time into learning its intricacies, for fear of it devolving into Yep Another AI Editor.
评论 #43348186 未加载
hosting2 months ago
I am impressed with the entire Zed editor and it s not some Electron nonsense. Huge respect guys, I dont think anything can compete.
sea-gold2 months ago
I&#x27;ll have to try this out. I&#x27;m currently a huge GitKraken[1] fan.<p>[1] <a href="https:&#x2F;&#x2F;gitkraken.com" rel="nofollow">https:&#x2F;&#x2F;gitkraken.com</a>