Successful new wiki git repo and item table record
This commit is contained in:
@@ -75,6 +75,15 @@ class GitRepo {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function initRepo() {
|
||||
if(!$this->path) return false;
|
||||
try {
|
||||
return $this->git->init($this->path);
|
||||
} catch (\PHPGit\Exception\GitException $ex) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public function pull() {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user