fix: ensure .sh scripts are LF in repo, add README note for bash\\r
Made-with: Cursor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user