search

Home  >  Q&A  >  body text

git diff的时候,每行的后面出现了奇怪的记号。

就是这个样子,今天突然有的

滿天的星座滿天的星座2793 days ago659

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-05-02 09:23:08

    The newline character under linux is n , windows 下的是 rn, which causes the above symbol to appear when displayed under linux. You can modify the format of the file through batch modification. At the same time, you need to modify the format of the file to unix editing mode instead of dos, or refer to the following
    http://blog.sina.com.cn/s/blog_458ce8f10102v0rh.html

    reply
    0
  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-02 09:23:08

    Line break rn

    reply
    0
  • Cancelreply