메소드 | 설명 | |
---|---|---|
Branch ( Ref @ref ) : System | ||
Branch ( Repository repo, string name ) : System | ||
Checkout ( ) : void |
Switch to this branch and check it out into the working directory.
|
|
Create ( Repository repo, string name ) : |
Create a new branch from HEAD.
|
|
Create ( Repository repo, string name, Commit commit ) : |
Create a new branch from the given commit
|
|
Delete ( ) : void |
Delete this branch
|
|
Merge ( |
||
Rename ( string name ) : void | ||
Reset ( ) : void | ||
Reset ( Commit commit ) : void | ||
Reset ( Commit commit, ResetBehavior resetBehavior ) : void | ||
Reset ( ResetBehavior resetBehavior ) : void | ||
Reset ( string commitHash ) : void | ||
Reset ( string commitHash, ResetBehavior resetBehavior ) : void | ||
SwitchTo ( |
Switch to the given branch
|
|
ToString ( ) : string |
메소드 | 설명 | |
---|---|---|
Branch ( Repository repo, GitSharp.Core.Ref @ref ) : System | ||
GetSafeCurrentCommit ( ) : Commit | ||
ResetHard ( Commit commit ) : void | ||
ResetSoft ( Commit commit ) : void | ||
ResolveCommit ( string commitHash ) : Commit |
public Branch ( Repository repo, string name ) : System | ||
repo | Repository | |
name | string | |
리턴 | System |
public static Create ( Repository repo, string name ) : |
||
repo | Repository | |
name | string | The name of the branch to create (i.e. "master", not "refs/heads/master") |
리턴 |
public static Create ( Repository repo, string name, Commit commit ) : |
||
repo | Repository | |
name | string | The name of the branch to create (i.e. "master", not "refs/heads/master") |
commit | Commit | The commit to base the branch on. |
리턴 |
public Reset ( Commit commit, ResetBehavior resetBehavior ) : void | ||
commit | Commit | |
resetBehavior | ResetBehavior | |
리턴 | void |
public Reset ( ResetBehavior resetBehavior ) : void | ||
resetBehavior | ResetBehavior | |
리턴 | void |
public Reset ( string commitHash, ResetBehavior resetBehavior ) : void | ||
commitHash | string | |
resetBehavior | ResetBehavior | |
리턴 | void |