I would like to be able to squash the last n commits that have a commit message of ‘squash commit’ into a single commit from a node.js script. The only way that I know of to squash commits is through an interactive rebase, is there a way to do this from a node script?