middlewarehq / middleware

✨ Open-source dev productivity platform for engineering teams ✨
https://middlewarehq.com
Apache License 2.0
388 stars 32 forks source link

add .gitattributes file to have only Line Feed '\n' as line endings. #441

Closed adnanhashmi09 closed 1 week ago

adnanhashmi09 commented 1 week ago

Linked Issue(s)

430

The above linked issue was caused due to different line endings in a windows system. Windows treats its line ending with 2 characters, i.e, '\r' followed by '\n'. This is not recognised by unix systems and since docker runs a unix system, it was causing problem to start the dev setup on a windows system. This PR adds a .gitattributes file, which instructs git on how to deal with text files, overriding its platform-centric defaults.

Acceptance Criteria fulfillment

Proposed changes (including videos or screenshots)

Further comments

jayantbh commented 1 week ago

Crazy