|
static | init ($directory, array $params=NULL) |
| Init repo in directory.
|
|
Definition at line 9 of file UGitRepository.php.
◆ _processCommand()
_processCommand |
( |
array |
$args | ) |
|
|
protected |
◆ getChangesInCommit()
getChangesInCommit |
( |
|
$commitHash | ) |
|
◆ getChangesInFile()
getChangesInFile |
( |
|
$filename | ) |
|
◆ getCommits()
◆ getModifiedFiles()
Returns list of modified files in repo.
- Returns
- string[]|NULL NULL => no files modified
Definition at line 108 of file UGitRepository.php.
◆ getNonPushedCommitHash()
getNonPushedCommitHash |
( |
|
$branch = "master" | ) |
|
◆ getRemoteBranchs()
◆ getRemoteUrl()
◆ getUntrackedFiles()
Returns list of untracked files in repo.
- Returns
- string[]|NULL NULL => no files untracked
Definition at line 97 of file UGitRepository.php.
◆ ignoreFiles()
Ignore file(s).
git update-index --assume-unchanged <file>
- Parameters
-
- Exceptions
-
Cz\Git\GitException
- Returns
- self
Definition at line 168 of file UGitRepository.php.
◆ init()
static init |
( |
|
$directory, |
|
|
array |
$params = NULL |
|
) |
| |
|
static |
Init repo in directory.
- Parameters
-
- Returns
- self
- Exceptions
-
Definition at line 38 of file UGitRepository.php.
◆ run()
Runs command.
- Parameters
-
- Returns
- self
- Exceptions
-
Cz\Git\GitException
Definition at line 19 of file UGitRepository.php.
◆ setUpstream()
setUpstream |
( |
|
$branch = "master" | ) |
|
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity/src/Ubiquity/utils/git/UGitRepository.php