I was previously working on Android Studio 2.1.3
on Windows 10
. Now I have migrated to Ubuntu 16.04
. When I opened my project from the NTFS
drive in Ubuntu Android Studio, It says each and every file is changed in git
.
If I check the changed content, it says files are identical. When I tried to check from the external git client, it shows all lines as (-) and same content as (+). I don't understand why this had happened.
Do this has something with the end line character? What can I do now so that it can only show the changed content?
NOTE: This can be identified as a duplicate as for general scenario of line endings in any git repo. But, for specifically Android Studio this can be solved as per my answer.