How can we see differences between two commits in GIT?

We can use git diff command to see the differences between two commits. The syntax for a simple git diff command to compare two commits is:

git diff <commit#1> <commit#2>

Leave a Reply

Your email address will not be published. Required fields are marked *