diff --git a/src/PHPGit/Command/BranchCommand.php b/src/PHPGit/Command/BranchCommand.php index 4b42f50..3f22e72 100644 --- a/src/PHPGit/Command/BranchCommand.php +++ b/src/PHPGit/Command/BranchCommand.php @@ -50,11 +50,11 @@ public function __invoke(array $options = array()) ->add('-v')->add('--abbrev=7'); if ($options['remotes']) { - $builder->add('--remotes'); + $builder->add('-r'); } if ($options['all']) { - $builder->add('--all'); + $builder->add('-a'); } $process = $builder->getProcess();