Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Get progress of push command in JGit

could this one help?

PushCommand cmd = git.//
if (!silentUpload) {
cmd.setProgressMonitor(new TextProgressMonitor());


-- Aldrin Leal, <aldrin@xxxxxxxxxxx>
Master your EC2-fu! Get the latest ekaterminal public beta

On Wed, Mar 11, 2015 at 2:35 PM, Albert Battle <battalovalb@xxxxxxxxx> wrote:

I am able to push to the remote repository with the following command

git.push().setCredentialsProvider(new UsernamePasswordCredentialsProvider(user, password)).setRemote("origin").call();

Sometimes it takes a few minutes to push to the repository and I want somehow to keep track of the progress. There's an interface org.eclipse.jgit.lib.ProgressMonitor but no examples of how to use it.

jgit-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top