tags:

views:

123

answers:

1

I still have XP on my laptop and have installed Git so that I can do some work on it. When I clone a repository from my server (which is linux) it automatically adds carriage returns onto each line. So now Git thinks that every file has been modified when, in fact, they haven't.

I've tried adding the following lines to my .gitconfig file to no avail

[core]
    autocrlf = true

or

[core]
    autocrlf = input

I have also tried running

git config core.autocrlf <value>

within the repository in question, and then reset hard to head. This also didn't seem to work. Any help would be appreciated.

+4  A: 

Why not "autocrlf = false?".

João Marcus
well... that would have been the obvious thing to do now, wouldn't it? It works now. Thanks for fielding my stupid question.
Rhinosaurus