Created
February 15, 2018 12:32
-
-
Save rohanaceres/eda79358db73d19e5944a488a2144a53 to your computer and use it in GitHub Desktop.
Recover deleted branch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- git reflog | |
- find the SHA1 for the commit at the tip of your deleted branch | |
- git checkout [sha] | |
- git checkout -b [branchname] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment