In this article let’s discuss about How to check git files changed between two commits. Let’s go through the following methods without any delay.
git diff --name-only SHA1 SHA2
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar by have a try!
Method 2 :
git diff mybranch master -- myfile.cs
Hope the above solution works.
Realted Posts : How to list changed files in git