next-drupal-starterkit
next-drupal-starterkit copied to clipboard
Add .gitattributes file; update .gitignore
Changes proposed in this PR:
Adds .gitattributes file, which tells git explicitly how to handle line ending normalisation for various file types, and by doing that, improves cross-platform developer experience.
How to test:
- Have a Windows developer make changes to some file.
- See that there is no git warning about line endings when committing.
- Also see that the line endings in the repository are indeed normalized to LF-only (Unix format
\ninstead of the Windows format\r\n)