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.
IntelliJ IDEA allows you to check which files were modified between two commits instead of having to browse the changes in each commit in between. Select any two commits in the Log tab of the Git tool window Alt+9 and choose Compare Versions from the context menu.
Check out one of the branches you want to compare with. Select the branch you want to compare with in the Git branch popup in the status bar in the bottom right of the IntelliJ window. A popup with some options is shown.
You can view the diff for any file by clicking or pressing Ctrl+D. You can check how a committed file revision is different from its local version: Open the Git tool window Alt+9 and switch to the Log tab. Select the commit you are interested in, and in the right pane select the file. Click the button on the toolbar.
IntelliJ IDEA lets you review the state of your project at a selected revision. Open the Git tool window Alt+9 and switch to the Log tab. Select a commit and choose Show Repository at Revision from the context menu. The Repositories tool window will open containing the snapshot of your project at the selected revision.
I think this is the closest solution you can have.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With