Considering I have the following ASCII graph:
A---B---C---D---E---F master
\ /
X---Y---Z topic
(stolen from a recent but unrelated question)
Is there a command/script/tool which accepts this as input and creates the dummy commits accordingly?