Add commit post function.