예제 #1
0
 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');
 }