Branch merge failure, fatal: unfinished merge

Post Reply
Kathleen McC
Jr. Propeller Head
Posts: 6
Joined: Tue Nov 15, 2022 12:34 pm

Branch merge failure, fatal: unfinished merge

Post by Kathleen McC »

With MadCap Central as my repository, I used Flare to merge one branch into another and the merge just hung forever. I canceled out of the merge, deleted my index.lock file (in the .git folder) and rebooted but now receive this error when trying to pull again.
Pulling local changes from remote...
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.
fatal: Exiting because of unfinished merge.
error: You have not concluded your merge (MERGE_HEAD exists).
hint: Please, commit your changes before merging.

There is nothing to commit and there are no pending changes. Do I need to delete more from the .git folder in order to proceed/retry merge?
sarrantsvt
Propeller Head
Posts: 47
Joined: Mon Jun 28, 2021 8:02 am

Re: Branch merge failure, fatal: unfinished merge

Post by sarrantsvt »

What do you see when you type 'git status'?
Doing Online Help since 1990. I remember "dots" .........
Got a bug? https://www.madcapsoftware.com/feedback/bugs/
Got a suggestion? https://www.madcapsoftware.com/feedback ... quest.aspx
Kathleen McC
Jr. Propeller Head
Posts: 6
Joined: Tue Nov 15, 2022 12:34 pm

Re: Branch merge failure, fatal: unfinished merge

Post by Kathleen McC »

Musta been a hiccup or lag time?
Git status now shows:
On branch branchnamehere
Your branch is up to date with branchnamehere
nothing to commit, working tree clean

Problem seems to have resolved itself, tho not convinced the merge merged anything...
Post Reply