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.
2 parents 29be29b + 8a2943c commit 19407edCopy full SHA for 19407ed
Git.php
@@ -327,6 +327,23 @@ public function add($files = "*") {
327
}
328
return $this->run("add $files -v");
329
330
+
331
+ /**
332
+ * Runs a `git rm` call
333
+ *
334
+ * Accepts a list of files to remove
335
336
+ * @access public
337
+ * @param mixed files to remove
338
+ * @return string
339
+ */
340
+ public function rm($files = "*") {
341
+ if (is_array($files)) {
342
+ $files = '"'.implode('" "', $files).'"';
343
+ }
344
+ return $this->run("rm $files");
345
346
347
348
/**
349
* Runs a `git commit` call
0 commit comments