[Nur Englisch] Git, do not try to be clever! Just do your job!
[This article is only available in English. Sorry.]
Git has this cursed function to fuck up your files by doing unspeakable things to your line endings.
For example, from Githubs Documentation on Line Endings:
On Windows, you simply pass true to the configuration. For example:
$ git config –global core.autocrlf true
Please, never never never never never never never never never never never never do this!
THERE IS NO REASON TO DO IT!
- EVERY decent editor in the world can handle ANY line endings.
- At some point you will run into totally avoidable trouble.
Git is here to keep track of our files, NOT TO CHANGE OUR FILES IN ANY WAY.
So, please, just, never never never never never never never never never never never never do this! Leave my file endings alone!
Schreibe einen Kommentar