Adding support for amending a commit