javagit/src/main/java/edu/nyu/cs/javagit/client/cli/CliGitAdd.java
public GitAddResponse addWithForce(File repositoryPath, List<File> paths)
            throws JavaGitException, IOException {
        GitAddOptions options = new GitAddOptions();
        options.setForce(true);
        return add(repositoryPath, options, paths);
    }
public GitAddResponse addWithForce(File repositoryPath, List<File> paths)
            throws JavaGitException, IOException {
        GitAddOptions options = new GitAddOptions();
        options.setForce(true);
        return add(repositoryPath, options, paths);
    }
Implementations of &lt;git-add&gt; with force option set.