Follow

.gitattributes が
*.sh text eol=lf
*.bat text eol=crlf
だけ書いてあって、eof=lfなのにhoge.shファイルの改行コードがCRLFになっちゃうよ~てずっと悩んでたけど

.gitattributes の 先 頭 に BOM が 入 っ て た

先頭にBOM入ってるから*.shがひっかからなかったんですね
いやでもおまえcheck-attrだとちゃんと認識されてんじゃんふざけんなよ!!!

Sign in to participate in the conversation
7144.party

7144民向け