We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e69d03 commit 4881549Copy full SHA for 4881549
lib/git.js
@@ -56,7 +56,7 @@ function generateBranch(action) {
56
yield execute_1.execute(`git checkout --orphan ${action.branch}`, action.workspace);
57
yield execute_1.execute(`git reset --hard`, action.workspace);
58
yield execute_1.execute(`git commit --allow-empty -m "Initial ${action.branch} commit"`, action.workspace);
59
- 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);
60
yield execute_1.execute(`git fetch`, action.workspace);
61
core_1.info(`Created the ${action.branch} branch… 🔧`);
62
}
0 commit comments