if (add.code === 0) {
        console.log(`  ${chalk.green('✔')}   added docs and gh-pages changes`);
    } else {
        throw new Error(`failed to add docs and gh-pages changes:\n${add.output}`);
    }