Replies: 1 comment 1 reply
-
git add .gitattributes
git commit -m "Configure line endings"
git push origin <branch_name> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
General
Body
Hello Everybody,
If I attempt to do a raw download of a file directly from GitHub, the file will contain LF line endings when the default file has CRLF line endings. I see that when I clone the repo, Github converts the file to have CRLF endings. Is there potentially a way where I can have the file saved in my GitHub repo with the default CRLF line endings?
Beta Was this translation helpful? Give feedback.
All reactions