I created a branch/tree with commits in a git repo a while ago that I will never use. How can I permanently remove that from my repo? This is all local - no remote repos or other users
before:
--A-----------D---E---F---G <- master/head
\---B---C <- will never use
what I'd like:
--A---D---E---F---G <- master/head
Mercurial has a strip command that does what I need and hoped git has something similar