Reputation: 1228
How can I restore an Orphan remote branch that was deleted remotely & no has it anymore?
Upvotes: 1
Views: 103
Reputation: 18716
There's no obvious way to do it.
Keep in mind that a branch is simply a pointer to a commit.
Thus, if someone had locally the last commit of that branch, he can do a git reflog
, find the commit, and cherry-pick
it where he wants.
Upvotes: 1