# git_ui: Fix amend not working for detached HEAD \(\#29017\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6e0732a9d7707c815c4e7c35d6c28fc34e1ba931

Requested commit: 6e0732a9d7707c815c4e7c35d6c28fc34e1ba931

Commit: 6e0732a9d7707c815c4e7c35d6c28fc34e1ba931

Tree: 96a2812d628e8bd27f2d7041984eb3806588db8e

Author: Smit Barmase

Committer: GitHub

## Message

```
git_ui: Fix amend not working for detached HEAD (#29017)

Closes #28736

Release Notes:

- Fixed git amend not working for detached HEAD.
```

## Parents

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

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