GitSharp.Branch.Checkout C# (CSharp) Method

Checkout() public method

Switch to this branch and check it out into the working directory.
public Checkout ( ) : void
return void
        public void Checkout()
        {
            SwitchTo(this);
        }

Usage Example

Exemplo n.º 1
0
 /// <summary>
 /// Check out the given branch into the working directory and make it the current branch.
 /// </summary>
 /// <param name="branch"></param>
 public void SwitchToBranch(Branch branch)
 {
     branch.Checkout();
 }