Merge pull request #211 from eadamsintel/update-contributing

docs: Add note for Windows users to use LF and not CRLF
This commit is contained in:
Fabiano Fidêncio 2021-05-19 22:46:25 +02:00 committed by GitHub
commit f3f3e4bbd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,6 +243,15 @@ For more details, see how to [set up a git remote](https://help.github.com/artic
$ $EDITOR CONTRIBUTING.md
```
>**Note:** If editing in Windows make sure that all documents end with LF
> and not CRLF. The CI system will fail if carriage returns are in the
> document. Many editors support the ability to change this. There is a
> tool called dos2unix available on Git Bash for Windows and also available
> on Linux systems that can convert files to LF endings. See the
> [Configuring Git to handle line endings](https://docs.github.com/en/github/getting-started-with-github/getting-started-with-git/configuring-git-to-handle-line-endings)
> guide for more details on how to configure `git` to automatically insert
> the correct line endings.
1. Commit your changes to the current (`fix-contrib-bugs`) branch. Assure
you use the correct [patch format](#patch-format):