Paul Stanley Paul Stanley - 23 days ago 6
Git Question

get all files in git diff in intellij

Is there a quick way to open all files with a diff between 2 commits in intellij?

Im looking at my diffs in gitlab and Im thinking itd be easier to just do the edits there, yet I want the benefits of the IDE so to speak.

Answer

I think this is the closest solution you can have.

  • Open Version Control tool window.
  • Go to Log tab.
  • You can see the network diagram. Select 2 commits that you want to compare.
  • Then from the right hand side you can see the list of diff files between 2 commits.

enter image description here

  • Further you can select a file from the list and, click on top left red color button (Diff button) on the file list window and see the diff for that file. :))