執行 python tools/ingest.py --all-pending 發生錯誤
#6
Owner
```
[1/1] 攝入 raw/converted/2024_特店防火牆申請_0.2.0-446b7fa4.md …
↳ 新增 wiki/summaries/merchant-firewall-application-process.md
↳ 新增 wiki/entities/firewall-rule-application.md
↳ 新增 wiki/entities/merchant-firewall-settings.md
✓ raw/converted/2024_特店防火牆申請_0.2.0-446b7fa4.md 完成(model=gemma4:31b)
下列路徑根據其中一個 .gitignore 檔案而被忽略:
raw
提示: 如果您確定想要加入它們,請使用 -f。
提示: Disable this message with "git config set advice.addIgnoredFile false"
攝入中斷。目前在分支 ingest/20260724-181433-2024-0-2-0-446b7fa4,工作區可能有未提交變更,請人工檢查(不自動清除以免遺失資料)。
Traceback (most recent call last):
File "/Users/yellow/work/qa-work/pp-qa-km/tools/ingest.py", line 326, in <module>
main()
File "/Users/yellow/work/qa-work/pp-qa-km/tools/ingest.py", line 293, in main
run_git(root, "add", "wiki", "index.md", "log.md", "raw")
File "/Users/yellow/work/qa-work/pp-qa-km/tools/ingest.py", line 190, in run_git
return subprocess.run(["git", *args], cwd=root, check=True, text=True,
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', 'add', 'wiki', 'index.md', 'log.md', 'raw']' returned non-zero exit status 1.
```
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?