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 ? 

0
1 comment

Kemal,

Hi!

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

 

0

Please sign in to leave a comment.