public interface GitScm
extends com.atlassian.bitbucket.scm.Scm
builder
 factory which can be used to assemble custom commands.
 Where possible, plugin developers are strongly encouraged to use top-level services to interface with the SCM, rather than coding directly to the SCM tier. Using the top-level services provides better support for multiple SCMs, as well as providing additional functionality to augment what the SCMs provide. In general, most of the functionality provided by the Git SCM is better accessed via the following services:
CommitServiceCompareServiceContentServicePullRequestServiceRefServiceRepositoryServiceSCM ID on the repository before
 attempting to run Git commands against it.| Modifier and Type | Method and Description | 
|---|---|
| GitBulkContentCommandFactory | getBulkContentCommandFactory() | 
| GitCommandBuilderFactory | getCommandBuilderFactory() | 
| GitCommandFactory | getCommandFactory() | 
| GitCompareCommandFactory | getCompareCommandFactory() | 
| GitExtendedCommandFactory | getExtendedCommandFactory() | 
| GitIntegrityCheckCommandFactory | getIntegrityCheckCommandFactory() | 
| com.atlassian.bitbucket.scm.PluginMergeStrategies | getMergeStrategies() | 
| com.atlassian.bitbucket.util.Version | getMinimumVersion() | 
| GitPullRequestCommandFactory | getPullRequestCommandFactory() | 
| GitRefCommandFactory | getRefCommandFactory() | 
| Optional<com.atlassian.bitbucket.util.Version> | getVersion() | 
static final String ID
static final String NAME
@Nonnull GitBulkContentCommandFactory getBulkContentCommandFactory()
getBulkContentCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull GitCommandBuilderFactory getCommandBuilderFactory()
getCommandBuilderFactory in interface com.atlassian.bitbucket.scm.Scmgit commands like diff and rev-list@Nonnull GitCommandFactory getCommandFactory()
getCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull GitCompareCommandFactory getCompareCommandFactory()
getCompareCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull GitExtendedCommandFactory getExtendedCommandFactory()
getExtendedCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull GitIntegrityCheckCommandFactory getIntegrityCheckCommandFactory()
getIntegrityCheckCommandFactory in interface com.atlassian.bitbucket.scm.ScmScm.getIntegrityCheckCommandFactory()@Nonnull com.atlassian.bitbucket.scm.PluginMergeStrategies getMergeStrategies()
getMergeStrategies in interface com.atlassian.bitbucket.scm.Scm@Nonnull com.atlassian.bitbucket.util.Version getMinimumVersion()
git version.@Nonnull GitPullRequestCommandFactory getPullRequestCommandFactory()
getPullRequestCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull GitRefCommandFactory getRefCommandFactory()
getRefCommandFactory in interface com.atlassian.bitbucket.scm.Scm@Nonnull Optional<com.atlassian.bitbucket.util.Version> getVersion()
git version, if an acceptable version was found.
 If git was not found, or is not an acceptable version, empty() is returned.git version, or empty() if git was not found or was not an acceptable versionCopyright © 2019 Atlassian. All rights reserved.