Methods summary
public
|
#
createTag( string $name )
Creates a tag.
Parameters
Throws
|
public
|
#
removeTag( string $name )
Removes tag.
Parameters
Throws
|
public
|
#
renameTag( string $oldName, string $newName )
Renames tag.
Parameters
Throws
|
public
string[]|null
|
#
getTags( )
Returns list of tags in repo.
Returns list of tags in repo.
Returns
string[]|null NULL => no tags
|
public
|
#
merge( string $branch, array|null $options = NULL )
Merges branches.
Parameters
Throws
|
public
|
#
createBranch( string $name, boolean $checkout = FALSE )
Creates new branch.
Parameters
Throws
|
public
|
|
public
string
|
|
public
string[]|null
|
#
getBranches( )
Returns list of branches in repo.
Returns list of branches in repo.
Returns
string[]|null NULL => no branches
|
public
|
#
checkout( string $name )
Checkout branch.
Parameters
Throws
|
public
|
#
removeFile( string|string[] $file )
Removes file(s).
Parameters
Throws
|
public
|
#
addFile( string|string[] $file )
Adds file(s).
Parameters
Throws
|
public
|
#
renameFile( string|string[] $file, string|null $to = NULL )
Renames file(s).
Parameters
- $file
- array('from' => 'to', ...) || (from, to)
- $to
Throws
|
public
|
#
commit( string $message, string[] $params = NULL )
Commits changes
Parameters
- $message
- $params
- => value
Throws
|
public
boolean
|
|