Y
Hacker News
new
|
ask
|
show
|
jobs
by
majewsky
1830 days ago
--allow-empty refers to the changeset [1]. You still need a message.
[1] To be precise, it allows to create a commit that has the same tree as the parent commit.
1 comments
cobbal
1830 days ago
That can be fixed by using “EDITOR=true git commit --amend --allow-empty”
link
majewsky
1829 days ago
The default message is empty though, so not editing it will abort the commit.
link