fix(commit.ts): remove '-u' and 'origin' arguments from git push command to push to the current branch
This commit is contained in:
@@ -56,7 +56,7 @@ ${chalk.grey('——————————————————')}`
|
|||||||
const pushSpinner = spinner();
|
const pushSpinner = spinner();
|
||||||
|
|
||||||
pushSpinner.start('Running `git push`');
|
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`);
|
pushSpinner.stop(`${chalk.green('✔')} successfully pushed all commits`);
|
||||||
|
|
||||||
if (stdout) outro(stdout);
|
if (stdout) outro(stdout);
|
||||||
|
|||||||
Reference in New Issue
Block a user