make previous commit permanent