public interface

GitAddBuilder

implements GitCommandBuilderSupport<B extends GitCommandBuilderSupport<B>>
com.atlassian.bitbucket.scm.git.command.add.GitAddBuilder

Summary

[Expand]
Inherited Constants
From interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport
Public Methods
@Nonnull GitAddBuilder all(boolean value)
@Nonnull GitCommand<Void> build()
@Nonnull GitAddBuilder force(boolean value)
Controls whether --force is passed to git add.
@Nonnull GitAddBuilder path(String value)
@Nonnull GitAddBuilder paths(Iterable<String> values)
@Nonnull GitAddBuilder paths(String value, String... values)
[Expand]
Inherited Methods
From interface com.atlassian.bitbucket.scm.CommandBuilderSupport
From interface com.atlassian.bitbucket.scm.git.command.GitCommandBuilderSupport

Public Methods

@Nonnull public GitAddBuilder all (boolean value)

@Nonnull public GitCommand<Void> build ()

@Nonnull public GitAddBuilder force (boolean value)

Controls whether --force is passed to git add. When provided, --force overrides entries from .gitignore, allowing ignored files to be added to the index and committed.

Parameters
value true to use --force, overriding .gitignore; otherwise, false to perform a "safe" git add
Returns
  • this

@Nonnull public GitAddBuilder path (String value)

@Nonnull public GitAddBuilder paths (Iterable<String> values)

@Nonnull public GitAddBuilder paths (String value, String... values)