Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
DirExists ( string path ) : bool | ||
FileExists ( string path ) : bool | ||
Repository ( GitSharp.Core.Repository repo ) : System |
public CheckoutBranch ( |
||
branch | ||
Результат | void |
public CheckoutBranch ( string name ) : void | ||
name | string | |
Результат | void |
public Commit ( string message ) : |
||
message | string | The commit message |
Результат |
public Commit ( string message, |
||
message | string | The commit message |
author | The author of the content to be committed | |
Результат |
public static Init ( InitCommand cmd ) : |
||
cmd | InitCommand | |
Результат |
public static Init ( string path ) : |
||
path | string | |
Результат |
public static Init ( string path, bool bare ) : |
||
path | string | |
bare | bool | |
Результат |
public static IsValid ( string path ) : bool | ||
path | string | |
Результат | bool |
public static IsValid ( string path, bool bare ) : bool | ||
path | string | |
bare | bool | |
Результат | bool |
public Repository ( string path ) : System | ||
path | string | Path to the local git repository. |
Результат | System |