run this command to see you old and new mode also look out for the last 3 numbers as this represents the permissions
git diff -G.
so after this we can see the issue, our permissions changed
to fix this they are 2 ways
- run this command in the root directory of your project and it will fix the permissions
find . -type f -exec chmod a-x {} \;
or reverse back the changes by running this
find . -type f -exec chmod a+x {} \;
- run this command to tell git to ignore the permissions issues
git config core.fileMode false
or make it global by doing this
git config --global core.fileMode false