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 c61b1dd commit 1c93a5aCopy full SHA for 1c93a5a
Git.php
@@ -383,10 +383,11 @@ public function clone_remote($source) {
383
*
384
* @access public
385
* @param bool delete directories?
386
+ * @param bool force clean?
387
* @return string
388
*/
- public function clean($dirs = false) {
389
- return $this->run("clean -f".(($dirs) ? " -d" : ""));
+ public function clean($dirs = false, $force = false) {
390
+ return $this->run("clean".(($force) ? "-f" : "").(($dirs) ? " -d" : ""));
391
}
392
393
/**
0 commit comments