Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Merge Pull Requests Directly into Main #6161

Open
yaschet opened this issue Feb 3, 2025 · 5 comments
Open

Unable to Merge Pull Requests Directly into Main #6161

yaschet opened this issue Feb 3, 2025 · 5 comments
Labels
bug Something isn't working UX something related to the user's experience

Comments

@yaschet
Copy link

yaschet commented Feb 3, 2025

Version

0.14.6 (20250121.112215)

Operating System

macOS

Distribution Method

dmg (Mac OS - Apple Silicon)

Describe the issue

Hi, I’m unable to merge pull requests into the production branch (main) directly.

The only way it works is through GitHub’s Pull Request page, but even then, I get a warning afterward.

I have already removed the project from GitButler, renamed the production branch from master to main, and then retried again, same thing.

This issue doesn’t seem to affect my other repositories.

Image

GitButler_Demo.mp4

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)

@yaschet yaschet added the bug Something isn't working label Feb 3, 2025
@Byron Byron added the UX something related to the user's experience label Feb 3, 2025
@Byron
Copy link
Collaborator

Byron commented Feb 3, 2025

Thanks a lot for reporting!

@krlvi suspects that this is related how stacks are represented in the user-interface, which apparently can lead to confusing situations like these. Maybe that would explain that the issue is only present in this particular repository.

If it's open-source code and within GitHub size limits, it could be zipped up and shared here so we can take a closer look.

@yaschet
Copy link
Author

yaschet commented Feb 3, 2025

@Byron The repository isn't open-source, but I’m happy to provide details.

I checked .git/refs/remotes/origin and noticed directories like feature, style, and fix, with the actual branch names inside them.

I don’t create branches like fix, only fix/name-of-branch.

Let me know what would be most helpful.

@Byron
Copy link
Collaborator

Byron commented Feb 3, 2025

Oh, that's interesting! Maybe it's related to branch names with slashes inside of them?

Since the issue only occours within this repository, maybe that's the difference to the other repositories where it works.

@yaschet
Copy link
Author

yaschet commented Feb 3, 2025

@Byron, But I use slashes in other repositories as well.

Never had an issue, pull requests and merges work just fine there.

@SnaveSutit
Copy link

I'm encountering the same issue in latest (0.14.7), I've tried using slash-less names, only having a single virtual branch in my stack, and clearing out all pending changes / PRs. No success 😭

Image

We can probably close #5726 as a duplicate of this one. I left a comment there a couple days ago indicating the issue has re-emerged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UX something related to the user's experience
Projects
None yet
Development

No branches or pull requests

3 participants