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 5d54f49 commit 10a715aCopy full SHA for 10a715a
Git.php
@@ -447,6 +447,26 @@ public function push($remote, $branch)
447
{
448
return $this->run("push --tags $remote $branch");
449
}
450
+
451
+ /**
452
+ * Sets the project description.
453
+ *
454
+ * @param string $new
455
+ */
456
+ public function set_description($new)
457
+ {
458
+ file_put_contents($this->repo_path."/.git/description", $new);
459
+ }
460
461
462
+ * Gets the project description.
463
464
+ * @return string
465
466
+ public function get_description()
467
468
+ return file_get_contents($this->repo_path."/.git/description");
469
470
471
472
/* End Of File */
0 commit comments