add & commit in one