Ghostboard pixel

Zed Editor Now Has Native Git Support for Coders!

Zed now has proper Git support. You can now commit, push, and manage branches without leaving the editor!

Zed, the modern Rust-based code editor with AI superpowers, has had a busy year so far, recently introducing a new AI Edit Predictions power-up that learns from a Zed user's coding habits to then predict what their next move might be.

Nonetheless, the Zed team is not sitting idly by and has launched yet another major feature for Zed that looks to further spice up the user experience for developers.

Let's see what it's all about. 😀

Native Git Support in Zed: What to Expect?

0:00
/0:25

Navigation and staging of Git changes on the macOS version of Zed. (Source: Zed)

In response to the many requests they received, the Zed developers have introduced native Git support with the Zed v0.177 release, allowing users to carry out common Git operations like committing, pushing, pulling, and staging. They have made it keyboard-centric so that it is more accessible than using both a mouse and keyboard.

All of that is tied into the new Git panel, which acts as the home for this new addition, giving users an overview of their working tree and staging area while also acting as the central hub for all Git operations.

There is also support for running git::Commit from the command palette, allowing for quick commits without the need for staging, and there is integration with the onboard AI system for automatically generating commit messages.

Additionally, the devs worked on rebuilding the text buffer to ensure that diffs blended in well with the editor. Deleted text is now shown with a special background, allowing users to select, copy-paste, and move it around with just the text cursor, without the need to use a mouse.

As part of future upgrades, they plan to work on bringing Git conflict resolution, line-by-line staging for allowing users to stage individual lines of code, history visualization, and more.

📥 Get Zed

You can install Zed on your Linux system by running the following command and referring to the on-screen prompts:

curl -f https://zed.dev/install.sh | sh

There are also alternative packages available on the official website and Flathub.

Suggested Read 📖

7 Linux Terminals From the Future
Just when I thought the terminals cannot be innovated, there is an influx of modern terminal emulators with interesting new features.
🎗️
Here's why you should opt for It's FOSS Plus Membership:

- Even the biggest players in the Linux world don't care about desktop Linux users. We do.
- We don't put informational content behind paywall. Your support keeps it open for everyone. Think of it like 'pay it forward'.
- Don't like ads? With the Plus membership, you get an ad-free reading experience.
- When millions of AI-generated content is being published daily, you read and learn from real human Linux users.
- It costs just $2 a month, less than the cost of your favorite burger.

Become a Plus Member today and join over 300 people in supporting our work.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS News.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.