do a commit