This commit is contained in:
JamesIves 2020-03-31 09:41:31 -04:00
parent 7e69d032e3
commit 48815494c2

View File

@ -56,7 +56,7 @@ function generateBranch(action) {
yield execute_1.execute(`git checkout --orphan ${action.branch}`, action.workspace);
yield execute_1.execute(`git reset --hard`, action.workspace);
yield execute_1.execute(`git commit --allow-empty -m "Initial ${action.branch} commit"`, action.workspace);
yield execute_1.execute(`git push ${action.repositoryPath} ${action.branch}`, action.workspace);
yield execute_1.execute(`git push --force ${action.repositoryPath} ${action.branch}`, action.workspace);
yield execute_1.execute(`git fetch`, action.workspace);
core_1.info(`Created the ${action.branch} branch… 🔧`);
}