12

I recently noticed that the line-feeds of files in my project are CRLF but I want them as LF.(I get the following message from GIT GUI :

"UTF-8 Unicode text, with CRLF line terminators"

How can I solve this problem?

Berkay Özerbay
  • 149
  • 1
  • 1
  • 6
  • have you tried to change the settings? (`Window->Preferences->General->Workspace: Text File Encoding and the New Text file line delimiter`) – Edwin Jul 17 '17 at 13:04

2 Answers2

14

Try this :

Window->Preferences->General->Workspace: New Text file line delimiter

enter image description here

zichen.L
  • 364
  • 3
  • 7
8

Just try below process

File--> Convert Line Delimiters to --> Unix