Class ListBranchCommand

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

public class ListBranchCommand extends GitCommand<List<Ref>>
Used to obtain a list of branches.

In case HEAD is detached (it points directly to a commit), it is also returned in the results.

See Also: