Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 shell 脚本,它有几行 ^M 删除代码。我在 Win 7 上通过 TortoiseSVN 将这些文件签入到 SVN。但是 ^M(在 win 中由 CR 表示)会自动转换为 LF,从而破坏了我的脚本。
没有为文件设置 eol 属性。