/** * Return a command object to execute a {@code checkout} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html" * >Git documentation about checkout</a> * @return a {@link org.eclipse.jgit.api.CheckoutCommand} used to collect * all optional parameters and to finally execute the * {@code checkout} command */ public CheckoutCommand checkout() { return new CheckoutCommand(repo); }
/** * Returns a command object to execute a {@code checkout} command * * @see <a * href="http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html" * >Git documentation about checkout</a> * @return a {@link CheckoutCommand} used to collect all optional parameters * and to finally execute the {@code checkout} command */ public CheckoutCommand checkout() { return new CheckoutCommand(repo); }
/** * Return a command object to execute a {@code checkout} command * * @see <a href= * "http://www.kernel.org/pub/software/scm/git/docs/git-checkout.html" * >Git documentation about checkout</a> * @return a {@link org.eclipse.jgit.api.CheckoutCommand} used to collect * all optional parameters and to finally execute the * {@code checkout} command */ public CheckoutCommand checkout() { return new CheckoutCommand(repo); }
return null; CheckoutCommand co = new CheckoutCommand(repo); try { co.setProgressMonitor(monitor);
return null; CheckoutCommand co = new CheckoutCommand(repo); try { co.setName(newCommit.name()).call();
return null; CheckoutCommand co = new CheckoutCommand(repo); try { co.setProgressMonitor(monitor);