Some changes were made in git between hash A and hash B (the last branch is in Z - thousands of commits later). I would like HEAD (my local one) to point to hash A and have in my working directory all the changes that were made between A and B.
Why? Since git diff is inconvenient, and I would prefer to work with the diff tool that has my IDE (IntelliJ IDEA). But for this I need to convince the IDE that I modified the files - hence the request.
source
share