protected function execute(InputInterface $input, OutputInterface $output) { $git = new GitRepository($input->getArgument('docroot')); // Perform the merge. $git->checkout()->execute($input->getArgument('destination')); $git->merge()->execute($input->getArgument('source'), null, '--no-ff'); }