Answer the question
In order to leave comments, you need to log in
How to compare current code with old commits?
There is a training project in Java, which has already passed once. All stages of the project are committed. I decided to go through it a second time, all this in Intellij. Created a branch, rolled back the project to the first lesson (Reset current branch to here).
Is it possible to compare the current code with old commits (for comparison with the previous solution) and not just with the latest commits?
Answer the question
In order to leave comments, you need to log in
git diff has commit IDs in its options. Intellij has a great visual tool where you can select this very commit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question