I've accidentally removed a branch

I'm new to git (I was using perforce before). I've accidentally deleted a branch from both my local and remote. The good thing is, I'm still able to see this commit in space (inside the related issue). It says “Unreachable from any branch” but I'm able to see code changes. Is there a way to merge these changes into a branch ? 

1 comment



With Git, you can recover the branch using the commit ID: https://stackoverflow.com/a/50673173



Please sign in to leave a comment.