Method | Description | |
---|---|---|
CheckoutBranch ( |
Check out the given branch
|
|
CheckoutBranch ( string name ) : void |
Check out the branch with the given name
|
|
Close ( ) : void | ||
Commit ( string message ) : |
Commit staged changes and update HEAD. The default git author is used.
|
|
Commit ( string message, |
Commit staged changes and update HEAD
|
|
Dispose ( ) : void | ||
Init ( InitCommand cmd ) : |
Initializes a repository in the current location using the provided git command's options.
|
|
Init ( string path ) : |
Initializes a non-bare repository. Use GitDirectory to specify location.
|
|
Init ( string path, bool bare ) : |
Initializes a repository. Use GitDirectory to specify the location. Default is the current directory.
|
|
IsValid ( string path ) : bool |
Checks if the directory given by the path is a valid non-bare git repository. The given path may either point to the working directory or the repository's .git directory.
|
|
IsValid ( string path, bool bare ) : bool |
Checks if the directory given by the path is a valid git repository.
|
|
Repository ( string path ) : System |
Initializes the Repository object.
|
|
ToString ( ) : string |
Method | Description | |
---|---|---|
DirExists ( string path ) : bool | ||
FileExists ( string path ) : bool | ||
Repository ( GitSharp.Core.Repository repo ) : System |
public CheckoutBranch ( |
||
branch | ||
return | void |
public Commit ( string message ) : |
||
message | string | The commit message |
return |
public Commit ( string message, |
||
message | string | The commit message |
author | The author of the content to be committed | |
return |
public static Init ( InitCommand cmd ) : |
||
cmd | InitCommand | |
return |
public static Init ( string path ) : |
||
path | string | |
return |
public static Init ( string path, bool bare ) : |
||
path | string | |
bare | bool | |
return |
public static IsValid ( string path, bool bare ) : bool | ||
path | string | |
bare | bool | |
return | bool |
public Repository ( string path ) : System | ||
path | string | Path to the local git repository. |
return | System |