commit in mac