SyntaxFix
Write A Post
Hire A Developer
Questions
You can use git filter-branch for that. e.g.
git filter-branch --parent-filter \ 'if test $GIT_COMMIT != <sha1ofB>; then cat; fi'
This results in AB-C throwing away the commit log of A.