最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

git - Intellij unrolls shell script files in WSL - Stack Overflow

programmeradmin1浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论