use ~1 instead of ^ for parent commit