In Git, we can abort a commit by leaving commit message empty.
It displays...
Aborting commit due to empty commit message.
While using xp,
it adds Co-authored-by: <name> <email>
.
Even if we comment or remove it, it will add it back and make the commit.
Thereafter, Unable to amend the commit.