I am using the latest PhpED IDE on Windows and have set it up where both the web server as well as all project files are located on the remote Linux server. Since the project files are located on the remote server, the git repository is located there as well. I am not using any of PhpEd source control and perform my adds and commits to the repository manually. I am collaborating on a project and was asked to do the following by someone who did not know my specific PhpEd configuration.
Quote: |
git config --global core.autocrlf true
git config --global core.safecrlf true
git config --global core.eol lf |
Since doing so, I can not make commits due to the following error:
warning: LF will be replaced by CRLF in setup/setup.txt.
The file will have its original line endings in your working directory. |
I have researched the error (https://help.github.com/en/articles/dealing-with-line-endings) and understand why it is occurring, but not how best to deal with it. For one, looks like I need to set core.autocrlf to false. Anything else? What about settings to PhpED? For instance, IDE settings "Default file endoing", "default file format", etc?
Thanks