freeze code at last known good commit