Seneca-ICTOER / Intro2C

Seneca College IPC144 Course Notes
https://ipc144.sdds.ca
Other
7 stars 52 forks source link

Force git to use Unix end-of-line via .gitattributes #155

Closed humphd closed 2 years ago

humphd commented 2 years ago

This will change how git works locally, using Unix end-of-line characters vs. whatever OS the user is working on. Doing so will mean that Prettier won't complain about all files being in the wrong format.

You can read more about how this works at https://git-scm.com/docs/gitattributes#_text.