#2808 RFE: "delete this fork after PR merge"
Opened 6 years ago by mattdm. Modified a year ago

Issue #836 is a useful suggestion for helping maintain a long-lived fork for something you're a common contributor to. But, many times, you want to just make one change and may never come back — or at least to not have to maintain the state of your fork if you do have another change some time in the future.

For these cases, it makes sense to just delete your fork after the PR is merged. But, that's kind of a headache. What if the PR had a metadata attribute "delete fork after PR is merged" which the requester could set?


Metadata Update from @pingou:
- Issue tagged with: RFE, wishful

6 years ago

Well, in the upcoming release we've fixed (hopefully for good) the issue that we had where if one were to delete their project the PR would disappear as well.

This means, one should be able to, fork, open the PR and just delete the fork right after.

Just out of curiosity: if I do that, and the maintainer asks for some modification, can I fork again and update the same pull request?

you would need to re-fork, get the PR head and push to the same branch (untested though)

Hmmm.I want to make it easier for people making drive-through contributions to docs. With the upcoming change, perhaps this request changes to wanting an option to delete the fork immediately when submitting the PR. (And this should be the default when creating a PR with the "fork and edit" button on the web interface.)

Metadata Update from @wombelix:
- Issue set to the milestone: 6.0

a year ago

Login to comment on this ticket.

Metadata