Skip to content

Is there an expiry time on restoring a deleted branch in a merged PR? #23262

Discussion options

You must be logged in to vote

I don’t have a very satisfying answer for you I’m afraid. The branches will be restorable indefinitely, unless the repository cache is cleared.

We don’t clear repository caches automatically (we’re in the version control business, so we don’t delete data unless we absolutely have to 😉) so usually the only reason we would do that is if we had someone writing in to us asking for us to clear them as part of the sensitive data removal process (Step 8).

It’s also possible we might clear the cache for technical reasons, if the content or structure of the repo was causing us difficulties to host it, but that would usually only happen if the repo was exceptionally large or had a wildly structured…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@activenode
Comment options

@activenode
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants