Know your CRLF in git


Today I wanted to install nodejs on my debian machine, and I got stuck with strange errors about command not found. I hate to admit it, but it was the fault of strange CRLF and the fix was setting my git defaults to a sensible value:

git config --global core.autocrlf false

If you want the reasoning behind this, read http://code52.org/line-endings.html and then set it. But set it.

After that I could install nodejs with one simple line of nvm. I’ll write about that soon.

Weitere Artikel

Aufbau eines Hackintosh

Enable request logging in Jetty 9.1

Hacktoberfest 2017

Automatische Erneuerung von Lets Encrypt Zertifikaten

Neue Antennen für meine Fritzbox

Fitness vs Gesundheit

Renaissance Periodization, Teil 2

Der letzte PR

Fahrrad geklaut

Erstes Review des Sony XZ Premium