Skip to content

Commit 4881549

Browse files
committed
3.4.3
1 parent 7e69d03 commit 4881549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function generateBranch(action) {
5656
yield execute_1.execute(`git checkout --orphan ${action.branch}`, action.workspace);
5757
yield execute_1.execute(`git reset --hard`, action.workspace);
5858
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);
59+
yield execute_1.execute(`git push --force ${action.repositoryPath} ${action.branch}`, action.workspace);
6060
yield execute_1.execute(`git fetch`, action.workspace);
6161
core_1.info(`Created the ${action.branch} branch… 🔧`);
6262
}

0 commit comments

Comments
 (0)