pre-checkout commit