code: protected function reapplyChanges($path)
      {
          $path = $this->normalizePath($path);
          if ($this->hasStashedChanges) {
              $this->hasStashedChanges = false;
              $this->io->writeError('    <info>Re-applying stashed changes</info>');
              if (0 !== $this->process->execute('git stash pop', $output, $path)) {
                  throw new \RuntimeException("Failed to apply stashed changes:\n\n".$this->process->getErrorOutput());
              }
          }
  
          $this->hasDiscardedChanges = false;
      }
docs: {@inheritDoc}