commit mac