Able to recover a deleted branch using git tag
I have a test repository with a master and test branch. I did make few
changes in test branch and did a tagging of the test branch. Then I
deleted the test branch (no, I did not merge with master). Surprisingly,
when I tried to checkout using the tag which I did earlier, I was able get
the test branch which I deleted earlier (of course in DETACHED HEAD state,
in "no branch"). How this is possible? Can someone help me understand
this??
No comments:
Post a Comment