Skip to content

Commit 3e05abb

Browse files
committed
fix: CRLF warning
Signed-off-by: Yiyang Wu <[email protected]>
1 parent a4f9709 commit 3e05abb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.gitattributes

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
* text=auto
1+
* text eol=lf
22

3-
*.sh text eol=lf
43
*.obj binary
54
*.dbg.obj binary

Pages/Getting-started.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
> 用户stu 密码为123456
2121
2222
23+
> [!IMPORTANT] CRLF
24+
> 由于bash/GNU Make强制需要使用LF作为换行符,当你尝试保存脚本时请确保换行符为LF,而非CRLF。
25+
26+
2327
> [!WARNING]
2428
> 小心使用sudo,请注意我们在编译的时候我们会同步的在编译文件夹时写入timestamp文件,如果你使用root权限,会导致后续普通的正常构建返回错误。
2529

0 commit comments

Comments
 (0)