Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 375 Bytes

command-git-paid.md

File metadata and controls

11 lines (9 loc) · 375 Bytes

Artisan GIT PAID

Artisan::command('git:paid', function () {
    $this->info(exec("git log --after='last month' --date=short --pretty=format:'%h,%an,%ad,%s' > ~/Desktop/app-commit-log.csv"));
})->describe('Generate a new commit log for last month.');
git log --after='last month' --date=short --pretty=format:'%h,%an,%ad,%s' > ~/Desktop/app-commit-log.csv