I'm trying to set up file permissions, I refer to this instruction:
How to recover the file permissions to what git "thinks" the file should be?
When I enter the git command
git diff -p -R --no-color \
| grep -E "^(diff|(old|new) mode)" --color=never \
| git apply
The console shows me fatal: unrecognized input
. I'm trying add --no-color
, --no-ext-diff
also I put in my gitconfig file this line [color] ui = auto
, but all of these things are not helping me.
Do you have any ideas for what I need to do ?