git - Will a commit be garbage collected if it's referred to by tag but not by branch? -
I have a comment that is mentioned in the Commit (is this thing if it is annotated?) And there is no branch there. Can the garbage be collected after some time?
No, the committed garbage will not be collected. One reference from one tag is enough to stay alive.
Comments
Post a Comment