public void deleteBranch ( Ref branch , boolean forceDelete ) throws IOException , JavaGitException { GitBranch gitBranch = new GitBranch ( ) ; gitBranch . deleteBranch ( path , forceDelete , false , branch ) ; branch = null ; }
Deletes a branch