+------------------------------------------------------------+
| apnscp |
+------------------------------------------------------------+
| Copyright (c) Apis Networks |
+------------------------------------------------------------+
| Licensed under Artistic License 2.0 |
+------------------------------------------------------------+
| Author: Matt Saladna (msaladna@apisnetworks.com) |
+------------------------------------------------------------+
Methods Summary |
public
|
#
clone( string $repo , string $target , array $opts )
Clone a repositroy
|
public
|
#
clean( string $path , bool $dir = true, bool $dry = false )
Clean repository of stray files
|
public
|
#
valid( string $path )
Path is valid git repository
|
public
|
#
stash( string $path , string $message = NULL )
Stash pending changes into new commit
|
public
|
#
reset( string $path , string $commit = NULL, bool $hard = true )
Reset repository to commit
|
public
|
#
tag( string $path )
List tags for repository
|
public
|
#
init( string $path , bool $bare = true )
Initialize a git repository
|
public
|
#
fetch( string $path , array $opts = array ( ) )
Download objects and refs from another repository
|
public
|
#
add( string $path , array $files = array ( ) )
Add files to an existing repo
|
public
|
#
head( string $path )
Get head commit
|
public
|
#
add_ignore( string $path , $files )
Add files to ignore
|
public
|
|
public
|
|
public
|
#
commit( string $path , string $msg )
Commit staged transaction
|
public
|
#
checkout( string $path , string $ref , array $files = NULL )
Checkout ref/tag
|