Skip to content

Commit

Permalink
Add eol=lf to prevent CI auto CRLF
Browse files Browse the repository at this point in the history
  • Loading branch information
YanWenKun committed Sep 29, 2024
1 parent f720390 commit d4718f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
2 changes: 2 additions & 0 deletions stage1.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -eux

git config --global core.autocrlf true

gcs='git clone --depth=1 --no-tags --recurse-submodules --shallow-submodules'

workdir=$(pwd)
Expand Down

0 comments on commit d4718f0

Please sign in to comment.