Class CreateBranchCommand

java.lang.Object
org.eclipse.jgit.api.GitCommand<Ref>
org.eclipse.jgit.api.CreateBranchCommand
All Implemented Interfaces:
Callable<Ref>

public class CreateBranchCommand extends GitCommand<Ref>
Used to create a local branch.
See Also:
  • Constructor Details

    • CreateBranchCommand

      protected CreateBranchCommand(Repository repo)
      Constructor for CreateBranchCommand
      Parameters:
      repo - the Repository
  • Method Details