/** * Return a command object to execute a {@code Commit} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-commit.html" * >Git documentation about Commit</a> * @return a {@link org.eclipse.jgit.api.CommitCommand} used to collect all * optional parameters and to finally execute the {@code Commit} * command */ public CommitCommand commit() { return new CommitCommand(repo); }
/** * Returns a command object to execute a {@code Commit} command * * @see <a * href="http://www.kernel.org/pub/software/scm/git/docs/git-commit.html" * >Git documentation about Commit</a> * @return a {@link CommitCommand} used to collect all optional parameters * and to finally execute the {@code Commit} command */ public CommitCommand commit() { return new CommitCommand(repo); }
/** * Return a command object to execute a {@code Commit} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-commit.html" * >Git documentation about Commit</a> * @return a {@link org.eclipse.jgit.api.CommitCommand} used to collect all * optional parameters and to finally execute the {@code Commit} * command */ public CommitCommand commit() { return new CommitCommand(repo); }