1 2 3 4 5
const cp = require("child_process"); function deploy(branch) { cp.exec(`git checkout ${branch}`); }