Skip to content

formatter.lineEnding based on the operating system. #3290

Closed Answered by arendjr
MuhammadSawalhy asked this question in Q&A
Discussion options

You must be logged in to vote

I think the solution here is to configure your IDE to use the line ending that the repository expects. Even though you’re on Windows, you can still use a different line ending.

The confusing git add . behavior you witness is due to the files having no real changes after the line endings are normalized.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@MuhammadSawalhy
Comment options

@MuhammadSawalhy
Comment options

@arendjr
Comment options

Answer selected by arendjr
@arendjr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants