fix(commit.ts): remove '-u' and 'origin' arguments from git push command to push to the current branch

This commit is contained in:
di-sukharev
2023-03-15 14:51:26 +08:00
parent 571e1e9d8f
commit 42ed2a31f4
+1 -1
View File
@@ -56,7 +56,7 @@ ${chalk.grey('——————————————————')}`
const pushSpinner = spinner();
pushSpinner.start('Running `git push`');
const { stdout } = await execa('git', ['push', '-u', 'origin', 'HEAD']);
const { stdout } = await execa('git', ['push']);
pushSpinner.stop(`${chalk.green('✔')} successfully pushed all commits`);
if (stdout) outro(stdout);