fix: 兼容生产服务器旧版 Git #15
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/legacy-git-build-script-0917"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
生产构建脚本不再使用服务器旧版 Git 不支持的
git -C和branch --show-current,改为进入仓库目录并通过symbolic-ref读取分支。bash -n与差异检查通过;仅影响部署脚本兼容性。