We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5e09b3 commit 81bef16Copy full SHA for 81bef16
Git.php
@@ -487,6 +487,13 @@ public function pull($remote, $branch) {
487
return $this->run("pull $remote $branch");
488
}
489
490
+ public function log($format = null) {
491
+ if ($format === null)
492
+ return $this->run('log');
493
+ else
494
+ return $this->run('log --pretty=format:"' . $format . '"');
495
+ }
496
+
497
/**
498
* Sets the project description.
499
*
0 commit comments