Start with the right repository
Check the selected project, device, and worktree. Pause other work that could edit these files while you investigate. In the project’s terminal, run:git status identifies staged files, unmerged paths, and an unfinished merge or rebase. The log shows the latest local commit; branch and remote output help you check tracking and destination.
These commands do not fetch new remote history. Ahead/behind information is based on locally known remote references. Keep the exact error and any PR URL so you can compare them with the actual state.
Choose the matching recovery
Resolve a local conflict
First rungit status and identify which operation is in progress. Do not start another pull, merge, or rebase on top of an unfinished one.
-
List unresolved paths:
- Open each affected file in Files or your editor. For a text conflict, read both versions, write the intended combined result, and remove the conflict markers. A deleted or binary file may require a different resolution; follow the reported conflict instead of looking only for text markers.
-
Save and review the result. Stage only the paths you resolved. For example, if the affected file is
index.html: -
Finish the operation that
git statusreports. For an ordinary merge stopped by conflicts:For a rebase stopped by conflicts:Use the matching command, not both. A rebase can stop again at a later commit; resolve that step and continue until it finishes. Other operations, such as cherry-pick, have their own continuation instructions. -
Run
git statusagain, inspect the resulting files, and run the project’s checks. In Zen Review, choose More → Refresh and confirm that the unresolved entries are gone.
Abandoning an unfinished merge or rebase
Abandoning an unfinished merge or rebase
If you decide to abandon the operation, first preserve any edits or conflict-resolution work you still need. Use the abort command for the operation Git reports:
git merge --abort or git rebase --abort.Abort is not a general undo button. In particular, a merge that began with uncommitted changes may be unable to reconstruct those edits exactly. Read Git’s merge abort guidance before relying on it to restore work.GitHub reports a conflict
Merge conflicts in Zen’s PR row describes the relationship between the PR branches. It does not necessarily mean your working folder currently contains unmerged files. Open View PR and verify the head and base. Preserve any uncommitted work, obtain current remote history, and integrate the intended base into the head using your project’s Git policy. Resolve any local conflicts, check the result, and push the resulting head branch. Then refresh the PR and verify GitHub’s state. Kisuke’s Checks row does not resolve the conflict for you. A worktree gives you a separate working folder, but it does not remove conflicts between branches.Handle diverged history
When your branch and its upstream both contain commits the other lacks, repeating Push does not reconcile them. Inspect the commits on each side before choosing merge or rebase. If an upstream is configured, this read-only command helps compare the locally known histories:Restore GitHub access
GitHub CLI access is separate from your Kisuke account, AI-provider authentication, branch-name prefix, and Git commit identity. Check it on the computer that executes the repository’s operations, including when you are using that computer from a phone or browser. In desktop Kisuke:- Open Settings → Git.
- Under GitHub, choose the repository’s Device. If it is offline, reconnect that device; checking another online computer does not repair this one’s access.
- Check GitHub host. Use the device default or the hostname you intend to diagnose.
- Read the result and use Recheck after addressing the reported problem. An unavailable probe offers Try again.
To inspect the active account for github.com from that device’s terminal:
gh auth login on that device. Finish the login yourself, then Recheck. If the message identifies environment credentials such as GH_TOKEN, update the relevant credential in the executing service’s environment and restart that service as directed; a browser login does not override that environment credential. Do not paste tokens into a conversation or PR.
Recheck only checks access. It does not repeat a PR creation, merge, comment, or repository publication. Verify the previous result before explicitly trying the write again.