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

Gronkh ist jetzt ein Rundfunksender...

Crossfit Regionals 2018 in Berlin

Crossfit Open 2018

Qutebrowser userscript for TT-RSS

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