add function removeCommit