diff --git a/tools/monorepo/src/Worker/SplitCommitsWorker.php b/tools/monorepo/src/Worker/SplitCommitsWorker.php index 2579881..83d71d0 100644 --- a/tools/monorepo/src/Worker/SplitCommitsWorker.php +++ b/tools/monorepo/src/Worker/SplitCommitsWorker.php @@ -161,7 +161,7 @@ static function (array $required) use ($input, $output, $currentBranch, $branche } if (!$input->getOption('no-push')) { - $pushChanges[] = ['push', ...($input->getOption('force') ? ['-f', '-u'] : ['-u']), 'origin', "$branch:$branch"]; + $pushChanges[] = ['push', ...($input->getOption('force') ? ['-f'] : []), 'origin', $branch]; } } else { $output->writeln(\sprintf('Nothing to commit; On branch %s, "%s/%1$s" is up to date', $branch, $remote));