我得到了/bin/bash^M: bad interpreter: No such file or directory
我知道这里有多个帖子,如下所示:
/bin/sh^M: bad interpreter: No such file or directory
https://askubuntu.com/questions/304999/not-able-to-execute-a-sh-file-bin-bashm-bad-interpreter
How to change line-ending settings
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
我正在开发一台Windows机器并尝试在Linux机器上运行。我尝试了以下内容:intellij终端中的git config --global core.autocrlf true
设置intellij屏幕右下角的LF
仍然得到同样的错误。对于重新发布我很抱歉,找不到任何其他修复方法?
GIT:https://github.com/BillyCharter87/Tech-O-Dex-API/blob/master/scripts/runapp.sh谢谢
您可以在Linux中使用vi
,touch
,nano
创建脚本文件,不要在Windows中创建文件。