read previous commit message