Search This Blog

Friday, July 4, 2014

Solve Line encoding(unix/windows) problems in Git branches through Eclipse

There are some possibilities when people work on the same Git hub project in unix and windows. During this time most of us face the problem with Line encoding, Even though there are no changes to the branch, we will observe the entire file has been changed. This is so cumbersome to look at each and individual file and check what actual content is modified.

There are 2 fixes fir this;
  • Fix the IDE settings for file encoding and line delimiters
  • Configure Git to automatically do the conversion for you