I accidentally deleted git branch using:
"git delete -D branchName"
is it possible to recover this branch?
I accidentally deleted git branch using:
"git delete -D branchName"
is it possible to recover this branch?
Use git reflog
to get the SHA of the deleted branch and the git checkout to restore it.
full explanation can be found here: How to move HEAD back to a previous location? (Detached head) & Undo commits