read the previous commit