I have a bunch of shell scripts in a git repo, which I create in mounted WSL space, which I then open using windows intellij. Intellij performed a few unwanted actions, modified line endings (fixed), Modified permissions (fixed via git repo setting) but I cannot fight the changes he automatically performs i.e. unrolling a script. For example, if a script has a form:
../script.sh
It would generate a file that automatically replaces the file content with the parent script. I have no clue where the setting is to disable that, I cannot rollback the file, it complains about a link being missing 9as if the file is phantom), so I just want to disable that for initial file scan that generates this unnecessary set of changes.