S
S
SerzhMolodets2020-06-27 15:06:39
git
SerzhMolodets, 2020-06-27 15:06:39

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

1 answer(s)
I
Ivan Shumov, 2020-06-27
@inoise

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 question

Ask a Question

731 491 924 answers to any question