cd /workspace
git add -A # 自动识别新增/删除的文件(比 git add . 更精准)
git commit -am "更新模型: 添加XX+删除YY" # -a 包含所有已跟踪文件的变更
git push# ComfyUI_base 开源版
===================================================
bash /workspace/assets/update_comfyui.sh
===================================================
视频教程:https://www.bilibili.com/video/BV18zMWzpEgs/
cd /workspace find /workspace/ComfyUI/custom_nodes -mindepth 2 -type d -name ".git" -exec rm -rf {} + git add . git commit -m "同步更新" git push