Branch merge failure, fatal: unfinished merge

Postby Kathleen McC on Mon Jan 02, 2023 5:36 pm

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?
Kathleen McC
Jr. Propeller Head
 
Posts: 3
Joined: Tue Nov 15, 2022 12:34 pm

Re: Branch merge failure, fatal: unfinished merge

Postby sarrantsvt on Tue Jan 03, 2023 5:32 am

What do you see when you type 'git status'?
sarrantsvt
Propeller Head
 
Posts: 39
Joined: Mon Jun 28, 2021 8:02 am

Re: Branch merge failure, fatal: unfinished merge

Postby Kathleen McC on Tue Jan 03, 2023 11:57 am

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...
Kathleen McC
Jr. Propeller Head
 
Posts: 3
Joined: Tue Nov 15, 2022 12:34 pm


Return to Central's General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest