/** * Verify that the repository has no uncommited changes. * * @return void */ protected function verifyRepositoryIsClean() { $this->task('Verifying This Repository Is Clean...', function () { if ($this->git->hasUncommitedChanges()) { $this->failAndKill('Please commit your changes in this repository first.'); } }); }