<commit_before>var exec = require('child_process').exec;

queue([stash, checkout, getBack, commit, stashPop]);

function queue (fns) {
    // Execute and remove the first function.
    fns.shift()(function (err) {
        if (!err) {
            if (fns.length) {
                // If we still have functions
                // we continue
                queue(fns);
            } else {
                // We exist if we've finished
                process.exit(0);
            }
        } else {
            // We log if we have an error.
            console.error(err);
            process.exit(1);
        }
    });
}

function stash (next) {
    exec('git stash', next);
}

function stashPop (next) {
    exec('git stash pop', next);
}

function checkout (next) {
    exec('git checkout gh-pages', next);
}

function getBack (next) {
    exec('git checkout master ./dist/nipplejs.js && ' +
        'mv ./dist/nipplejs.js ./javascript/nipplejs.js',
        next);
}

function commit (next) {
    exec('git add ./javascript/nipplejs.js && ' +
        'git commit -m "chore: new build" && ' +
        'git push origin gh-pages', next);
}<commit_msg>chore: move it not rename it<commit_after>var exec = require('child_process').exec;

queue([stash, checkout, getBack, commit, stashPop]);

function queue (fns) {
    // Execute and remove the first function.
    fns.shift()(function (err) {
        if (!err) {
            if (fns.length) {
                // If we still have functions
                // we continue
                queue(fns);
            } else {
                // We exist if we've finished
                process.exit(0);
            }
        } else {
            // We log if we have an error.
            console.error(err);
            process.exit(1);
        }
    });
}

function stash (next) {
    exec('git stash', next);
}

function stashPop (next) {
    exec('git stash pop', next);
}

function checkout (next) {
    exec('git checkout gh-pages', next);
}

function getBack (next) {
    exec('git checkout master ./dist/nipplejs.js && ' +
        'mv ./dist/nipplejs.js ./javascript',
        next);
}

function commit (next) {
    exec('git add ./javascript/nipplejs.js && ' +
        'git commit -m "chore: new build" && ' +
        'git push origin gh-pages', next);
}
{'fraction_non_alphanumeric': 0.13988739714161974, 'fraction_numerical': 0.0017323516673884798, 'mean_word_length': 1.763157894736842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5859541', 'n_tokens_mistral': 730, 'n_tokens_neox': 696, 'n_words': 197}