I believe the syntax in .gitattributes would be:
* text eol=crlf
the docs say that this only takes effect on checkin/checkout, so you may have to do them all by hand once before you see changes.
However, I have never had the occasion to test this myself, so maybe this advice does not work! Hope it helps, though.