commit pre edit