Does deleting a branch in git remove it from the history?
Posted
by Ken Liu
on Stack Overflow
See other posts from Stack Overflow
or by Ken Liu
Published on 2010-04-10T15:43:14Z
Indexed on
2010/04/10
15:53 UTC
Read the original article
Hit count: 282
Coming from svn, just starting to become familiar with git.
When a branch is deleted in git, is it removed from the history?
In svn, you can easily recover a branch by reverting the delete operation (reverse merge). Like all deletes in svn, the branch is never really deleted, it's just removed from the current tree.
If the branch is actually deleted from the history in git, what happens to the changes that were merged from that branch? Are they retained?
© Stack Overflow or respective owner