When executing git diff to view the file modification, the prompt is as follows
The content of the file has not been modified. The reason for this problem is that the permission of the file has been modified, and the filemode of the file has changed, such as the execution of the chmod command.
Solution:
Switch to the root directory of the project, execute the following command, and ignore the change of filemode
git config --add core.filemode false