# git_ui: Force commit modal mode from command palette \(\#28745\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 616d17f5170c5d2e20b1db6faac899677afd8ed2

Requested commit: 616d17f5170c5d2e20b1db6faac899677afd8ed2

Commit: 616d17f5170c5d2e20b1db6faac899677afd8ed2

Tree: 7eaeb22245cb595b1bdf550b05e884cd3df6abf4

Author: Smit Barmase

Committer: GitHub

## Message

```
git_ui: Force commit modal mode from command palette (#28745)

Depending on `git::commit` or `git::amend` action triggered, commit
modal opens up in appropriate mode, handling edge cases like if you are
already in amend mode, etc.

Release Notes:

- N/A
```

## Parents

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

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