While branch can be removed, commit it is referring is not. All commits in git live literally forever. So if you've removed some branch by mistake, just create another one with the same name and point it to the same commit. How to know the commit? git is so kind so it tells the commit hash during branch removal.
-
-
Save skalinets/8df45e65287ed8c4f2b54012be50d1f2 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment