統一換行符為 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:
@@ -0,0 +1 @@
|
||||
* text=auto eol=lf
|
||||
Reference in New Issue
Block a user