ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Update comfyui failed,How to solve this problem?

Open wuzhonghui56 opened this issue 2 years ago • 7 comments

Your question

Update ComfyUI Cmd('git') failed due to: exit code(1) cmdline: git pull -v -- origin stderr: 'error: The following untracked working tree files would be overwritten by merge:' CUSTOM NODE PULL: Fail Install: pip packages Line is comment...skipping

Logs

No response

Other

No response

wuzhonghui56 avatar Sep 18 '24 10:09 wuzhonghui56

goto ComfyUI dir in cmd. And execute

git pull

What is the error message?

ltdrdata avatar Sep 18 '24 12:09 ltdrdata

在 cmd 中转到 ComfyUI 目录。 然后执行

git pull

错误信息是什么?

E:\ComfyUI_windows_portable\ComfyUI>git pull remote: Enumerating objects: 17, done. remote: Counting objects: 100% (17/17), done. remote: Compressing objects: 100% (3/3), done. remote: Total 17 (delta 14), reused 17 (delta 14), pack-reused 0 (from 0) Unpacking objects: 100% (17/17), 3.21 KiB | 164.00 KiB/s, done. From https://github.com/comfyanonymous/ComfyUI 7183fd1..0bfc7cc master -> origin/master 6b14fc8..e80dc96 patch_hooks -> origin/patch_hooks Updating f067ad1..0bfc7cc error: The following untracked working tree files would be overwritten by merge: web/assets/index-BRhY6FpL.css web/assets/index-CrROdkG4.js web/assets/index-CrROdkG4.js.map web/assets/index-Dfv2aLsq.js web/assets/index-Dfv2aLsq.js.map web/assets/index-W4jP-SrU.css web/assets/userSelection-CF-ymHZW.css web/assets/userSelection-DSpF-zVD.js web/assets/userSelection-DSpF-zVD.js.map web/dist.zip Please move or remove them before you merge. Aborting

wuzhonghui56 avatar Sep 19 '24 05:09 wuzhonghui56

在 cmd 中转到 ComfyUI 目录。 然后执行

git pull

错误信息是什么?

E:\ComfyUI_windows_portable\ComfyUI>git pull remote: Enumerating objects: 17, done. remote: Counting objects: 100% (17/17), done. remote: Compressing objects: 100% (3/3), done. remote: Total 17 (delta 14), reused 17 (delta 14), pack-reused 0 (from 0) Unpacking objects: 100% (17/17), 3.21 KiB | 164.00 KiB/s, done. From https://github.com/comfyanonymous/ComfyUI 7183fd1..0bfc7cc master -> origin/master 6b14fc8..e80dc96 patch_hooks -> origin/patch_hooks Updating f067ad1..0bfc7cc error: The following untracked working tree files would be overwritten by merge: web/assets/index-BRhY6FpL.css web/assets/index-CrROdkG4.js web/assets/index-CrROdkG4.js.map web/assets/index-Dfv2aLsq.js web/assets/index-Dfv2aLsq.js.map web/assets/index-W4jP-SrU.css web/assets/userSelection-CF-ymHZW.css web/assets/userSelection-DSpF-zVD.js web/assets/userSelection-DSpF-zVD.js.map web/dist.zip Please move or remove them before you merge. Aborting

Remove ComfyUI/web dir. And Execute this

git reset --hard
git pull

ltdrdata avatar Sep 19 '24 10:09 ltdrdata

thankyou

wuzhonghui56 avatar Sep 19 '24 11:09 wuzhonghui56

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> master

这个问题怎么解决呢

wangminxing2019 avatar Nov 24 '24 05:11 wangminxing2019

D:\Xing_Chi\AI_ruanjian\ComfyUI_windows\ComfyUI>git branch --set-upstream-to=origin/ master 系统找不到指定的文件。

D:\Xing_Chi\AI_ruanjian\ComfyUI_windows\ComfyUI>git pull There is no tracking information for the current branch. Please specify which branch you want to merge with. See git-pull(1) for details.

git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

git branch --set-upstream-to=origin/<branch> master

wangminxing2019 avatar Nov 24 '24 05:11 wangminxing2019

git checkout master
git pull

ltdrdata avatar Nov 24 '24 11:11 ltdrdata