From 48815494c2fa68c48f106ffd05ec677ab6280eff Mon Sep 17 00:00:00 2001 From: JamesIves Date: Tue, 31 Mar 2020 09:41:31 -0400 Subject: [PATCH] 3.4.3 --- lib/git.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git.js b/lib/git.js index 58340830..58ab32da 100644 --- a/lib/git.js +++ b/lib/git.js @@ -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… đŸ”§`); }