Support git commit --amend/--signoff