統一換行符為 LF

根本原因:
Windows 編輯器存檔時把 src/App.tsx 混入 CRLF,造成 git diff 出現整檔 572/565 行的假差異,難以審閱。

影響:
之後任何人在任何編輯器存檔,都不會再混入 CRLF 汙染 diff。

修法:
新增 .gitattributes 設定 `* text=auto eol=lf`,checkout 與 commit 一律正規化為 LF。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-10 15:20:47 +08:00
co-authored by Claude Fable 5
parent 78142488f3
commit 4cb150c7fb
+1
View File
@@ -0,0 +1 @@
* text=auto eol=lf