# Git uncommit warning \(\#25977\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e505d6bf5b4f137ed2d8386856d9c575d3239d98

Requested commit: e505d6bf5b4f137ed2d8386856d9c575d3239d98

Commit: e505d6bf5b4f137ed2d8386856d9c575d3239d98

Tree: 7c87e2e77f2f4ef598668eba21f3e9128427a296

Author: Julia Ryan

Committer: GitHub

## Message

```
Git uncommit warning (#25977)

Adds a prompt when clicking the uncommit button when the current commit
is already present on a remote branch:

![screenshot showing
prompt](https://github.com/user-attachments/assets/d6421875-588e-4db0-aee0-a92f36bce94b)

Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>
```

## Parents

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

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