[GH-ISSUE #40] Refusing to merge unrelated histories? #22

Closed
opened 2026-10-27 21:11:57 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @Torcelllo on GitHub (Jul 30, 2023).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/40

This message after git pull on Windows 10

ComfyUI Manager Fault

Originally created by @Torcelllo on GitHub (Jul 30, 2023). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/40 This message after git pull on Windows 10 ![ComfyUI Manager Fault](https://github.com/ltdrdata/ComfyUI-Manager/assets/114806454/0f4bfcfe-1b60-44b6-8e57-9d1dccd02ee9)
Author
Owner

@ltdrdata commented on GitHub (Jul 30, 2023):

I accidentally messed up the repo. Instead of using git pull, try using the following command: git update-ref refs/remotes/origin/main a361cc1 && git fetch --all && git pull.

If that doesn't work, reinstalling ComfyUI-Manager might be easier.

<!-- gh-comment-id:1657218014 --> @ltdrdata commented on GitHub (Jul 30, 2023): I accidentally messed up the repo. Instead of using `git pull`, try using the following command: `git update-ref refs/remotes/origin/main a361cc1 && git fetch --all && git pull`. If that doesn't work, reinstalling ComfyUI-Manager might be easier.
Author
Owner

@sabahiya commented on GitHub (Aug 27, 2023):

After inputing the command above

C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git update-ref refs/remotes/origin/main a361cc1 && git fetch --all && git pull
Already up to date.

It still wouldn't work.

C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git pull https://github.com/ltdrdata/ComfyUI-Manager.git
From https://github.com/ltdrdata/ComfyUI-Manager

  • branch HEAD -> FETCH_HEAD
    fatal: refusing to merge unrelated histories

Don't really get what you mean by reinstalling the manager as it isn't installed in the first place. Please help.

<!-- gh-comment-id:1694539788 --> @sabahiya commented on GitHub (Aug 27, 2023): After inputing the command above C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git update-ref refs/remotes/origin/main a361cc1 && git fetch --all && git pull Already up to date. It still wouldn't work. C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git pull https://github.com/ltdrdata/ComfyUI-Manager.git From https://github.com/ltdrdata/ComfyUI-Manager * branch HEAD -> FETCH_HEAD fatal: refusing to merge unrelated histories Don't really get what you mean by reinstalling the manager as it isn't installed in the first place. Please help.
Author
Owner

@ltdrdata commented on GitHub (Aug 27, 2023):

After inputing the command above

C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git update-ref refs/remotes/origin/main a361cc1 && git fetch --all && git pull Already up to date.

It still wouldn't work.

C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git pull https://github.com/ltdrdata/ComfyUI-Manager.git From https://github.com/ltdrdata/ComfyUI-Manager

  • branch HEAD -> FETCH_HEAD
    fatal: refusing to merge unrelated histories

Don't really get what you mean by reinstalling the manager as it isn't installed in the first place. Please

Just remove ComfyUI-Manager dir and git clone https://github.com/ltdrdata/ComfyUI-Manager instead of git pull in custom_nodes idr.

<!-- gh-comment-id:1694558129 --> @ltdrdata commented on GitHub (Aug 27, 2023): > After inputing the command above > > C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git update-ref refs/remotes/origin/main [a361cc1](https://github.com/ltdrdata/ComfyUI-Manager/commit/a361cc17f515fa629e703441a09c415112716ac3) && git fetch --all && git pull Already up to date. > > It still wouldn't work. > > C:\Users\Lloyd\Desktop\ComfyUI_windows_portable\ComfyUI\custom_nodes>git pull https://github.com/ltdrdata/ComfyUI-Manager.git From https://github.com/ltdrdata/ComfyUI-Manager > > * branch HEAD -> FETCH_HEAD > fatal: refusing to merge unrelated histories > > Don't really get what you mean by reinstalling the manager as it isn't installed in the first place. Please Just remove `ComfyUI-Manager` dir and `git clone https://github.com/ltdrdata/ComfyUI-Manager` instead of `git pull` in custom_nodes idr.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#22
No description provided.