commit with mac