question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rebase window gets stuck after conflicts are resolved and "Continue rebase" button clicked

See original GitHub issue

Describe the bug

Rebase window gets stuck after conflicts are resolved and “Continue rebase” button clicked

Version & OS

Version 2.9.4 (x64) on: MacOS 12.0.1 with Git 2.30.1 & Windows 7 with Git 2.33.1

Steps to reproduce the behavior

  1. Clone a repo from GitHub.
  2. git config pull.rebase true git config rebase.autoStash true
  3. On GitHub web, add a file “j” with content “123” and commit.
  4. On local cloned repo, do not pull latest change, but add a file “j” with content “456” and commit.
  5. On Github Desktop, click Repository -> Pull, a window pops out, showing 1 conflicted file.
  6. Click “Open in some editor”, resolve the conflict, then save the file, go back to Github Desktop.
  7. Now the pop-out window shows 0 conflicted files, so click “Continue rebase”.
  8. The window will stuck forever, have to force quit the app then reopen, this time the “Continue rebase” can complete.

Expected behavior

The rebase can complete without problem.

Actual behavior

The rebase window gets stuck.

Screenshots

Screen Shot 2021-10-29 at 17 43 33

Logs

2021-10-29T09:42:15.404Z - info: [ui] Executing pull: git -c credential.helper= -c rebase.backend=merge pull --progress origin (took 2.272s) 2021-10-29T09:42:15.405Z - error: [ui] git -c credential.helper= -c rebase.backend=merge pull --progress origin exited with an unexpected code: 1. stdout: CONFLICT (add/add): Merge conflict in j Auto-merging j

stderr: remote: Enumerating objects: 3, done.
remote: Counting objects: 33% (1/3)
remote: Counting objects: 66% (2/3)
remote: Counting objects: 100% (3/3)
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 50% (1/2)
remote: Compressing objects: 100% (2/2)
remote: Compressing objects: 100% (2/2), done.
remote: Total 2 (delta 1), reused 0 (delta 0), pack-reused 0
From https://github.com/***/example 0dc2203…595475d master -> origin/master Rebasing (1/1) error: could not apply de6810f… Create j Resolve all conflicts manually, mark them as resolved with “git add/rm <conflicted_files>”, then run “git rebase --continue”. You can instead skip this commit: run “git rebase --skip”. To abort and get back to the state before “git rebase”, run “git rebase --abort”. Could not apply de6810f… Create j

(The error was parsed as 6: We found some conflicts while trying to rebase. Please resolve the conflicts before continuing.)

Additional context

For a successful rebase, additional logs will show, but when the window hangs, no following logs.

2021-10-29T09:44:14.948Z - info: [ui] [continueRebase] continuing rebase for 595475de35a731d1ae3bd1672f04e2b7890dedab 2021-10-29T09:44:15.077Z - info: [ui] [continueRebase] completed rebase - got CompletedWithoutError and on tip 95a5dd13786d336d207c13d0057375cd6ae1e685 - kind Valid

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
recyardcommented, Dec 15, 2021

@tidy-dev Thanks a lot for the fix, Desktop now works like a charm.

1reaction
Xeoneidcommented, Dec 14, 2021

I’ve just updated and will be testing it along the week. Thanks for fixing this bug! My team totally loves the tool but this was the issue we most often encounter.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Git rebase with resolved conflict stays in the rebase state with ...
The Team Explorer shows that the rebase operation is in progress, but the Continue button is disabled. Only the Abort is enabled.
Read more >
finish git rebase operation after conflict - Stack Overflow
It looks like you've been dropped into the vim editor, and currently in replace mode. You can get out of that by just...
Read more >
Resolve Git merge conflicts - Azure Repos - Microsoft Learn
Learn how to resolve merge conflicts stemming from a Git merge or a Git rebase, by using Visual Studio or the command line....
Read more >
"git rebase -p no longer supported" but needed - Google Groups
I made a change on another computer and pushed it to the remote branch. Then I tried to merge them together. This started...
Read more >
How to Resolve Git Conflicts Faster and More Easily in Your ...
After conflict resolution, you click the Commit button in the top left corner. You'll need to Continue Rebase , which is the equivalent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found