Can I delete my fork of a BitBucket repository, after the owner has accepted and merged my pull request?

StackOverflow https://stackoverflow.com/questions/22857212

Вопрос

I created a fork of a public repository on BitBucket, with the sole purpose of committing a pull request that fixed some bug. The pull request was accepted and merged. Now, I want to delete the repository, that has outlived its purpose. If I do that, will the changes be lost?

There is already a question about this same issue, but for GitHub. Apparently, on GitHub you can delete the repository before the request has been even merged, as it gets automatically saved in the target repository. I guess that on BitBucket, things will be similar, but I wanted to be sure.

Это было полезно?

Решение

I would say if things work as expected on GitHub, then they would work on BitBucket. If the pull request was "accepted and merged", then nothing you do to your personal repository will modify the repository that has merged in your changes.

Другие советы

I'm not sure if you could do it before it's merged, but you certainly should be able to afterwards.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top