Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9817

Closed
Open
Created Nov 10, 2015 by Administrator@rootOwner

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?

Assignee
Assign to
Time tracking