Uses of Interface
com.github.gastaldi.git.GitWrapper
| Package | Description |
|---|---|
| com.github.gastaldi.git | |
| com.github.gastaldi.git.impl |
-
Uses of GitWrapper in com.github.gastaldi.git
Methods in com.github.gastaldi.git that return GitWrapper Modifier and Type Method Description GitWrapperGitWrapper. addRemote(java.lang.String remote)Adds remote named originGitWrapperGitWrapper. clean()Deletes .git directory in given path removing traces that this was ever a git repositoryGitWrapperGitWrapper. configureSparseCheckout(java.util.List<java.lang.String> paths)Configures repository to do sparse checkout populating configuration with given checkout pathsGitWrapperGitWrapper. ensureDirectory()Checks whether the pwd directory exists and creates if it doesn'tGitWrapperGitWrapper. initialize(java.nio.file.Path pwd)Initializes this wrapper with pwd.GitWrapperGitWrapper. initRepository()Initializes new git repository in given pathGitWrapperGitWrapper. pull(java.lang.String branch)Performs git pull using origin remote and given branch -
Uses of GitWrapper in com.github.gastaldi.git.impl
Classes in com.github.gastaldi.git.impl that implement GitWrapper Modifier and Type Class Description classGitWrapperImplMethods in com.github.gastaldi.git.impl that return GitWrapper Modifier and Type Method Description GitWrapperGitWrapperImpl. addRemote(java.lang.String remote)GitWrapperGitWrapperImpl. clean()GitWrapperGitWrapperImpl. configureSparseCheckout(java.util.List<java.lang.String> paths)GitWrapperGitWrapperImpl. ensureDirectory()GitWrapperGitWrapperImpl. initialize(java.nio.file.Path pwd)GitWrapperGitWrapperImpl. initRepository()GitWrapperGitWrapperImpl. pull(java.lang.String branch)