Class JGitBranchCommand

    • Constructor Detail

      • JGitBranchCommand

        public JGitBranchCommand()
    • Method Detail

      • getShortLocalBranchNames

        public static java.util.Set<java.lang.String> getShortLocalBranchNames​(org.eclipse.jgit.api.Git git)
                                                                        throws org.eclipse.jgit.api.errors.GitAPIException
        gets a set of names of the available branches in the given repo
        Parameters:
        git - the repo to list the branches for
        Returns:
        set of short branch names
        Throws:
        org.eclipse.jgit.api.errors.GitAPIException