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

Land No Longer Deletes Remote Branch(es) #48

Open
cleithner-comcast opened this issue Oct 28, 2024 · 1 comment
Open

Land No Longer Deletes Remote Branch(es) #48

cleithner-comcast opened this issue Oct 28, 2024 · 1 comment

Comments

@cleithner-comcast
Copy link
Contributor

Version: 0.1.3

stack-pr generates remote branches in the form <user>/stack/# when you submit a stack. In 7cbd8ab it was asserted that Github deletes remote branches automatically. This only seems to be true if Automatically delete head branches setting is configured on the project. This does not seem to be a default. At present, stack-pr will leave these intermediate stack branches behind on the remote. stack-pr should query this setting if possible, and err on the side of removing resources (refs) it creates.

@ZolotukhinM
Copy link
Collaborator

Oh, interesting, thanks for the report!

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

No branches or pull requests

2 participants