Skip to content

How to recover deleted branches #23958

Answered by Wabri
jpffitch asked this question in New to GitHub
Discussion options

You must be logged in to vote

Hi @jpffitch,

Welcome to the Github Community Forum!

I’m sorry to tell you, but I don’t really think so. All the commits, branches and tags are pointers to a specific memory address. As long as the pointer are alive (not deleted) you can retrive every events in history, but if these pointers are pull off from history the addresses can be use from other software. Obviously softwares overwrite the value of the addresses used.

This is for local repository, but if you have this repository in github maybe there is a possiblity. I immagine that github have clusters of databases where the repository are stored, so it can be possible to retrive an old version of a repository from a low layer data…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Labels
None yet
6 participants