summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautopush2
1 files changed, 1 insertions, 1 deletions
diff --git a/autopush b/autopush
index 682dc7d..8f3c617 100755
--- a/autopush
+++ b/autopush
@@ -110,7 +110,7 @@ function capitalizeFirstLetter(string) {
child_process.execFileSync("git", ["commit", "-m", message], { cwd: root });
spinner.text = chalk.gray("[" + file + "] ") + "Pushing to remote...";
- child_process.execFileSync("git", ["push", "--all", "origin"], { cwd: root });
+ child_process.execFileSync("git", ["push", "--all", "--force", "origin"], { cwd: root });
spinner.succeed(chalk.gray("[" + file + "] ") + "Completed");
}