I was trying to get the diff for a commit with the message Add structure
shown below, but git diff fb237ff
shows the diff for the commit "Add title"
instead. How can I get the diff for the SHA
I want instead of the child of this commit?:
commit 31013a1 (HEAD -> master, origin/master)
Author: user.name <user.email>
Date: Sun Jun 17 19:28:52 2018 +0100
Add title
commit fb237ff
Author: user.name <user.email>
Date: Sun Jun 17 19:24:33 2018 +0100
Add structure
commit 69d64b4
Author: user.name <user.email>
Date: Sun Jun 17 19:10:26 2018 +0100
Add heading