I have a commit, which was merged in such a way that git log is a mess. I want to know which commit is a parent to a given commit, i.e., what was the working area state before that commit was merged.
I've tried to use commit_id~1
as 'previous', but I failed. How can I get 'previous commit' in git?