# git: Improve error messages \(\#35946\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9431c6573318dde690bc4e61b3b82d97a69030b8)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9431c6573318dde690bc4e61b3b82d97a69030b8

Requested commit: 9431c6573318dde690bc4e61b3b82d97a69030b8

Commit: 9431c6573318dde690bc4e61b3b82d97a69030b8

Tree: 448344081ea6a616f0dff01bacb8c3afda22d94d

Author: Jacob

Committer: GitHub

## Message

```
git: Improve error messages (#35946)

Release Notes:

- Improved git error messages

Includes stderr in the error message for git commands, provides better
output for things like errors when switching branches.

Before:
<img width="702" height="330" alt="image"
src="https://github.com/user-attachments/assets/f32402ae-b85c-4b0b-aae8-789607e8ec9e"
/>

After:
<img width="650" height="575" alt="image"
src="https://github.com/user-attachments/assets/308dbe3c-1ff9-40b9-a187-1e12d2488c80"
/>

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

- [b2d7e34e80d8a7c06db7b399f7110b11cf097bc7](https://git.cafe/gitcafe/zed/commit/b2d7e34e80d8a7c06db7b399f7110b11cf097bc7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9431c6573318dde690bc4e61b3b82d97a69030b8?format=markdown)
