小编Ach*_*DAY的帖子

如何从 sublime text 3 中的文件中删除 ^M?

当我在我的分支中执行 git diff 时,我看到行尾有字符 ^M:

^M 行尾

我想在提交更改之前用 Unix 行结尾替换这些。

我正在使用 Ubuntu 14.04、git 和 sublime text 3。

谢谢你的帮助。

编辑:

我正在寻找一种不使用其他实用程序或命令来更改 sublime text 3 中行尾的方法。

git sublime-text-3 ubuntu-14.04

25
推荐指数
5
解决办法
5万
查看次数

标签 统计

git ×1

sublime-text-3 ×1

ubuntu-14.04 ×1