Skip to content

Fix your line endings!

martincostello edited this page Sep 28, 2023 · 2 revisions

We're not coding with typewriters, ya know

ℹ️ This documentation describes the previous Polly v7 API. If you are using the new v8 API, please refer to pollydocs.org.

Before you begin making changes to Polly, be sure to set your AutoCRLF option to false. This tells your git client how it should treat line-endings in your local copy of the repository and prevents you from ending up with Git informing you that every single file has changes in it, despite the fact that you haven't even looked at those files. To prevent this maddening scenario, please properly configure this setting.

To set AutoCRLF for just the Polly repository, make sure you are in the correct folder and execute

git config core.autocrlf false

To make it the default setting for all repositories execute (this might very well introduce the issue in other repositories, if they rely on another setting)

git config --global core.autocrlf false

Clone this wiki locally