I don't know if I' missing something here, but this is my current situation:
- GIT Repo checked out on Windows machine
- Line endings are automatically converted (autocrlf = true)
- installed WSL with Ubuntu
There are some Bash scripts in this repo that I want to execute via WSL. It doesn't work out-of-the-box due to the auto-converted line endings. So my current solution is to convert the script before execution with dos2unix.
Is there a fancy solution out there to get it working without manually converting the files?