Last Updated: February 25, 2016
·
422
· aidanthreadgold

Recover Deleted Git Branch

Checkout to the deleted branch, then run

git fsck --full --no-reflogs | grep commit

and

git reset --hard <dangling commit sha>