Skip to content

Instantly share code, notes, and snippets.

@hsribei
Created October 25, 2011 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsribei/1313618 to your computer and use it in GitHub Desktop.
Save hsribei/1313618 to your computer and use it in GitHub Desktop.
A merged git branch remains accessible even if deleted after being merged.

A merged git branch remains accessible even if deleted after being merged

A merge commit has two parent sha1s, so the old branch would be accessible by its sha1 as one of the parents in the merge commit and thus wouldn't be garbage-collected by Git.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment