public Ref createBranch ( String name ) throws IOException , JavaGitException { Ref newBranch = Ref . createBranchRef ( name ) ; GitBranch gitBranch = new GitBranch ( ) ; gitBranch . createBranch ( path , newBranch ) ; return newBranch ; }
Creates a new branch