Git: undo deleted branch

Posted . Visible to the public.

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>

Sean Feldman
Tags
Posted by Sean Feldman to Sean Feldman's deck (2015-02-02 20:19)