git show $COMMIT_ID$ - Show parent of a commit

Is there a way to show the parent of a particular commit through your git integration, so it behaves like git show ?

0
3 comments

Well if there is a solution there I can't seem to find it. Let me elaborate a little to explain things better.

Let's say there is collaborative repository_A with a master branch on GitHub. I checkout locally the master branch, its history will be linear when in reality this branch has been merged a lot of times. So the parent of a commit isn't necessarily the one that came before it in the log output. git show shows the parent. So I want this kind of behavior. 

0

well... if you look at the log, ignoring merge commits, then the previous one with the same color must be the one you are looking for :) Also, you can invoke diff on commit - parent number will be shown in the left panel.

Both ways obviously don't look too intuitive. Please feel free to file a feature request for 'navigate to parent' support to youtrack, https://youtrack.jetbrains.com/issues/IDEA

0

Please sign in to leave a comment.