Use git reflog
to find the SHA1 of commit of the branch. From that point, you can recreate a branch using:
git branch branchName <sha1>
Posted by Sean Feldman to Sean Feldman's deck (2015-02-02 20:19)
Use git reflog
to find the SHA1 of commit of the branch. From that point, you can recreate a branch using:
git branch branchName <sha1>