fix: clarify instructions for running scripts on Windows, specifying path format

This commit is contained in:
神楽坂アイリス 2025-05-27 12:00:40 +08:00
parent 0afd5107fb
commit 886c959183
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ bash scripts/sync-upstream.sh upstream/master /tmp/blog-sync
* **请使用 Git Bash** 执行上述命令;
* ❌ **不建议使用 cmd.exe 或 PowerShell**,以避免路径兼容与权限问题;
* 如需使用 Windows 运行脚本,推荐 Git Bash。
* 如需使用 Windows 运行脚本,推荐 Git Bash。路径参数使用 `/c/...` 格式,避免 Windows 风格路径。
---

View file

@ -50,7 +50,7 @@ bash scripts/sync-upstream.sh upstream/master /tmp/blog-sync
* ✅ **Use Git Bash** to run the above commands;
* ❌ **Avoid using cmd.exe or PowerShell**, as they may cause compatibility issues with file paths;
* For best results, stick with Git Bash even on Windows.
* For best results, stick with Git Bash even on Windows.Use the `/c/...` format for path arguments and avoid Windows-style paths.
---