Add commit amend functionality