gitattributes doesn't work
Created by: Alexhha
Hello, Currently I'm using Gitlab 8.0.4 on CentOS 6. And I have encountered with EOL issue. So I'm trying to solve the issue via .gitattributes file with the following content
# cat .gitattributes
*.sln text eol=lf
But it seems doesn't work.
# git clone ssh://[email protected]:2222/eol/test.git
Cloning into '.'...
remote: Counting objects: 20404, done.
remote: Compressing objects: 100% (5060/5060), done.
remote: Total 20404 (delta 15085), reused 20316 (delta 15002)
Receiving objects: 100% (20404/20404), 28.55 MiB | 20.54 MiB/s, done.
Resolving deltas: 100% (15085/15085), done.
Checking connectivity... done.
# cat -A test.sln
Microsoft Visual Studio Solution File, Format Version 12.00^M$
# Visual Studio 2013^M$
VisualStudioVersion = 12.0.21005.1^M$
MinimumVisualStudioVersion = 10.0.40219.1^M$
Why is still using windows EOL instead of linux? Did I miss something?