Successful new wiki git repo and item table record

This commit is contained in:
Andrew Manning
2016-05-21 19:02:23 -04:00
parent 5f2baa59f5
commit 049147a9d7
5 changed files with 103 additions and 82 deletions

View File

@@ -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 {