I have a git repository which contains (among others) *.wse
text files and *.sh
text files. How can I setup git to always checkout *.wse
files with CRLF
line endings and *.sh
files with LF
line endings?
views:
16answers:
1
+4
A:
Use a gitattributes file to specify e.g.
*.wse eol=crlf
*.sh eol=lf
laalto
2010-10-13 10:29:00
Thanks, this did it.
Tobias
2010-10-13 16:36:37