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

PR rebased on Github breaks the hub sync functionality to cleanup local branches when PR branch is deleted (after rebase) #3359

Open
prashantkalkar opened this issue Mar 5, 2024 · 1 comment
Labels

Comments

@prashantkalkar
Copy link

Command attempted:
hub sync

What happened:
When Github PR is rebased, instead of merged. hub sync can not cleanup local branches as they does not seems to be merged.
I understand that Git will not report them as merged (as post rebase the commit SHA will be different even when branch changes exists in the main branch). I am hoping that hub sync can figure this out that branch contents exists in main branch.

I am not every sure whether it can be said as a bug, but it does feels like a bug / broken behaviour while using the hub sync command for local brach cleanup functionality.

More info:
NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@prashantkalkar and others