Last Updated: February 25, 2016
·
408
· 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>