如何在 IntelliJ IDEA 2018.1 + Git 集成插件中通过 GUI 创建空提交?

How to create an empty commit via GUI in IntelliJ IDEA 2018.1 + Git Integration plugin?

有没有办法在 IntelliJ IDEA 2018.1 中创建空提交(即没有实际更改)(使用 git 和 Git 集成插件)?

我正在寻找

的等价物
git commit --allow-empty -m "foo"

但使用 GUI。

尝试提交一个空的更改列表只会产生 "No changes detected" 错误消息。

不,无法在 IntelliJ GUI 中创建空提交。要提交,需要在项目中进行一些更改。

顺便说一句,用例是什么?为什么需要空提交?我问是因为可能有另一种方法可以实现你想要的。