PR conflicts handled different to MS GitHub? #2344
Labels
No labels
accessibility
bug
bug
infrastructure
Codeberg
contributions welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
please chill
we are volunteers
public relations
question
question
user support
s/Forgejo
s/Forgejo/migration
s/Pages
s/Weblate
s/Woodpecker
security
service
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Codeberg/Community#2344
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Comment
I wonder if I have made something wrong and/or Forgejo behave different to Microsoft GitHub.
There is a PR with a merge conflict. No problem. I solved the conflict on my local branch and pushed it back. The solved version lives in doc/concept branch. The proof is that you can read "January 2026" in the README.md. But looking in the PRs diff the commit is missing and the "January 2026" does not appear in the README.md.
Any ideas on this?
Hi, your base branch
latestalready includes theJanuary 2026section, and thus, it is not in the diff again. See attached the commits view of both branches.I think I now understood your point. In the files diff view all files are shown without the merge conflict resolution, still at commit d74d. When you go now into the field for merging you may see
This pull request is broken due to missing fork information.Workaround: I don't know how that happened, but could you just click on the very top on the Edit button and try to select the branch again? Or create a new PR from the same branch (probably you need to close the existing one first)?
Bug: Forgejo shouldn't link to a branch if the PR is broken.
Question: Did you maybe delete the branch and recreated it again?
Hello Robert,
thank you for the reply. So I messed something up, it wasn't Forgejo. 😆
I think I'll play around with a test repo.
Is Forgejo able to handle merge conflicts like Microsoft GitHub does? I mean can it auto-solve if possible? And if not possible does it offer an editor window to solve existing conflicts in the UI?
Regards,
Christian
I don’t know what GH does.
No, that would be a nice feature, indeed!