3 ms·
Someone above mentioned: git commit --amend --allow-empty
by samhain 5y ago
Someone above mentioned:
git commit --amend --allow-empty
- majewsky 5y 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.