I have a git tree like
                 A---B---C topic
                /
           D---E---F---G master     <--
I would like to remove topic and all objects on it.
I note the SHA ID of topic, then type:
git branch -D topic
git gc                                   #  <-- I also tried prune here...
git checkout -b temp <SHA1 ID of topic>
After the last command I expect to get an error (something like "Non-existent object ID..." or somth. like that). However there is no error and gitk shows the same tree structure as above??
What am I missing - I thought gc/prune are supposed to delete all unreachable objects?
 
     
     
     
     
    