Uses of Class
org.eclipse.jgit.api.InitCommand
Packages that use InitCommand
-
Uses of InitCommand in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api that return InitCommandModifier and TypeMethodDescriptionstatic InitCommand
Git.init()
Return a command object to execute ainit
commandInitCommand.setBare
(boolean bare) Set whether the repository is bare or notInitCommand.setDirectory
(File directory) The optional directory associated with the init operation.Set the file system abstraction to be used for repositories created by this command.Set the repository meta directory (.git)InitCommand.setInitialBranch
(String branch) Set the initial branch of the new repository.