diff --git a/src/Command/GitCommand.php b/src/Command/GitCommand.php index 731ea66..f1c5009 100644 --- a/src/Command/GitCommand.php +++ b/src/Command/GitCommand.php @@ -104,6 +104,7 @@ protected function execute(InputInterface $input, OutputInterface $output) if ($branch !== 'master') { $git->checkoutBranch($branch, $path, $output); + $output->writeln(''.$branch.' der ausgecheckt werden sollte'); } if ($input->getOption('commit-and-push')) { diff --git a/src/Vcs/Driver/GitDriver.php b/src/Vcs/Driver/GitDriver.php index 8353c7c..aa138a9 100644 --- a/src/Vcs/Driver/GitDriver.php +++ b/src/Vcs/Driver/GitDriver.php @@ -69,6 +69,7 @@ public function checkoutBranch($branch, $path, OutputInterface $output) { try { $this->getGit()->getAdapter()->execute('checkout', ['-b', $branch ,'origin/' . $branch], $path); + $output->writeln(''.$branch.' erfolgreich ausgecheckt'); } catch (\Exception $e) { if (preg_match("/A branch named .+ already exists/", $e->getMessage()) === 1) { $output->writeln(