read previous commit