fix: ensure .sh scripts are LF in repo, add README note for bash\\r

Made-with: Cursor
This commit is contained in:
whm
2026-03-17 01:49:29 +08:00
parent a0df3a8a41
commit 826617d737
3 changed files with 8 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/env bash
# 拉取代码并重启项目(线上项目根目录:/home/yxd/project/yh_web
# 行尾LF.gitattributes
# 用法cd /home/yxd/project/yh_web && ./pull-and-restart.sh
# 或指定目录PROJECT_ROOT=/home/yxd/project/yh_web ./pull-and-restart.sh
set -e